Certification Exam Prep Questions For
Programming in C# (20483)


QuickStart is now offering assessment questions for Programming in C# (20483). Whether you are deciding which exam to sign up for, or simply want to practice the materials necessary to complete certification for this course, we have provided a practice assessment to better aid in certification. 100% of the questions are real questions; from a recent version of the test you will take for Programming in C# (20483).


Arrow
 
Module 1
Module 1

1

XAML is used to define

a. User Interface
Correct!
b. Methods
Incorrect.
c. Classes
Incorrect.
d. Structure
Incorrect.
2

Which data type can store 4 bytes integer

a. Long
Incorrect.
b. decimal
Incorrect.
c. int
Correct!
d. float
Incorrect.
3

Which .NET command is not a Loop

a. for
Incorrect.
b. foreach
Incorrect.
c. switch
Correct!
d. while
Incorrect.


Back To Top


Module 2
Module 2

1

void RemoveData()

{

}

void RemoveData(int Id)

{

}

According to above code which statement is correct

2

Which keyword is required to make a parameter output?

a. ref
Incorrect.
b. out
Correct!
c. output
Incorrect.
d. none of the above
Incorrect.
3

try

{

int a = 200;

}

catch (Exception ex)

{

// handling exception here

}

According to above code which statement is correct:



Back To Top


Module 3
Module 3

1

Select correct statements about structures

2

Which collection is used to store key/value objects pair?

a. ArrayList
Incorrect.
b. Stack
Incorrect.
c. Queue
Incorrect.
d. Hashtable
Correct!
3

Which object is required to define events in .NET?

a. Array
Incorrect.
b. Delegates
Correct!
c. Internal methods
Incorrect.
d. None of the above
Incorrect.


Back To Top


Module 4
Module 4

1

Following classes can’t be instantiated

a. abstract classes
Incorrect.
b. static classes
Incorrect.
c. sealed classes
Incorrect.
d. Both a and b
Correct!
2

an abstract class can have

3

Which are the advantages of Generics

a. type safety
Incorrect.
b. no casting
Incorrect.
c. no boxing and unboxing
Incorrect.
d. All of the above
Correct!


Back To Top


Module 5
Module 5

1

You want to create an extension method for the String class. You create a static method within a static class. How do you indicate that your method extends the String type?

2

Which of the following types of method must you implement in derived classes?

a. Abstract methods.
Correct!
b. Protected methods.
Incorrect.
c. Public methods.
Incorrect.
d. Static methods.
Incorrect.
3

Override keyword can be used with following members

a. Abstract
Incorrect.
b. Virtual
Incorrect.
c. Thread
Incorrect.
d. Both a and b
Correct!


Back To Top


Module 6
Module 6

1

You are a developer working for a Coffee shop. You have been asked to write some code to process a 100 GB video file. Your code needs to transfer the file from one location on disk, to another location on disk, without reading the entire file into memory. Which classes would you use to read and write the file?

2

Which of the following is used to read the content from the text file?

1. File.ReadAllLines(…)
Incorrect.
2. File.ReadAllText(…)
Incorrect.
3. Directory.Exists(…)
Incorrect.
4. Both a and b
Correct!
3

Which of the following is not a serializable format?

a. Binary
Incorrect.
b. Jason
Incorrect.
c. WPF
Correct!
d. XML
Incorrect.


Back To Top


Module 7
Module 7

1

Which of the following data sources can be queried using LINQ?

a. ADO.NET data sets
Incorrect.
b. XML documents
Incorrect.
c. SQL Server databases
Incorrect.
d. All of the above
Correct!
2

Visual Studio 2017 provides the ADO.NET Entity Data Model Tools, which include three wizards for working with models and data sources which of the following best defines Entity Data Model Wizard?

3

What advantages does LINQ provide over traditional ways of querying data?



Back To Top


Module 8
Module 8

1

Which of the following correctly describes how to access data that is provided in an HTTP response?

2

The .NET Framework provides the System.Net namespace, which contains several request and response classes that enable you to target different data sources. One of the class is WebRequest what it does?

3

When you create a WCF Data Service to provide remote access to an EDM, how do you specify which entity sets the data service should make available to client applications?



Back To Top


Module 9
Module 9

1

You want to apply a highlighting effect to selected items in a ListBox. How should you proceed?

2

You are creating an application that enables users to place orders for coffees. The application should allow users to select the drink they want from a list. Each list item should display the name of the coffee, the description, the price, and an image of the coffee. How should you proceed?

3

You want to use rows and columns to lay out a UI. Which container control should you use?

a. The Canvas control.
Incorrect.
b. The DockPanel control.
Incorrect.
c. The Grid control.
Correct!
d. The WrapPanel control.
Incorrect.


Back To Top


Module 10
Module 10

1

You create and start three tasks named task1, task2, and task3. You want to block the joining thread until all of these tasks are complete. Which code example should you use to accomplish this?

2

You have a synchronous method with the following signature:

public IEnumerable GetCoffees(string country, int strength)

You want to convert this method to an asynchronous method. What should the signature of the asynchronous method be?

3

You want to ensure that no more than five threads can access a resource at any one time. Which synchronization primitive should you use?



Back To Top


Module 11
Module 11

1

Which of the following statements best describes the dynamic keyword?

2

Which statement can be used to dispose the object implicitly?

a. Close
Incorrect.
b. Open
Incorrect.
c. Using
Correct!
d. ConnectionString
Incorrect.
3

What happens when the object is created in object life cycle

a. Resources are released
Incorrect.
b. Memory is allocated
Correct!
c. Memory is reclaimed
Incorrect.
d. None of the above
Incorrect.


Back To Top


Module 12
Module 12

1

You are reviewing some code that uses CodeDOM to generate managed Visual C# at run time. What does the following line of code do?

var method = new CodeEntryPointMethod();

2

The version number consists of the following sections i.e 2.1.0.24

a. ...
Correct!
b. .< build number >.< minor version >.
Incorrect.
c. ...< minor version >
Incorrect.
d. ...
Incorrect.
3

You are developing a custom attribute. You want to derive your custom attribute class from the abstract base class that underpins all attributes. Which class should you use?

a. Attribute
Correct!
b. ContextAttribute
Incorrect.
c. ExtensionAttribute
Incorrect.
d. DataAttribute
Incorrect.


Back To Top


Module 13
Module 13

1

Which key Asymmetric encryption uses to encrypt data.

a. Private
Incorrect.
b. Public
Correct!
c. Internal
Incorrect.
d. None of the above
Incorrect.
2

Which of the following is designed for encrypting large amount of data?

a. Asymmetric encryption
Incorrect.
b. Symmetric encryption
Correct!
c. Brute force
Incorrect.
d. None of the above
Incorrect.
3

Which of the following .Net Framework class uses a combination of the SHA512 hash algorithm and the Hash-Based Message Authentication Code (HMAC) to compute a 512-bit hash.

a. HMACSHA512
Correct!
b. SHA512Managed
Incorrect.
c. MACTripleDES
Incorrect.
d. MD5CryptoServiceProvider
Incorrect.


Back To Top
PDP Url

Practice Exam - Programming in C#


Self-Paced

Learning Style

Beginner

Difficulty

1 Hour

Course Duration

Course Info

Download PDF

Certificate

See Sample

Buy Individually
About Individual Course:
  • Individual course plan gives you access to this course
$109.00
$109.00
/ Each

Outline

More Information

More Information
Lab Access No
Learning Style Self-Paced Learning
Difficulty Beginner
Course Duration 1 Hour
Language English

Reviews

Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account

Contact A Learning Consultant


click here