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

What can you use XAML to define?

A. Structure
Incorrect.
B. Methods
Incorrect.
C. User Interface
Correct!
D. Classes
Incorrect.
2

Can you identify the data type that can store 4 bytes integer?

A. int
Correct!
B. decimal
Incorrect.
C. Long
Incorrect.
D. float
Incorrect.
3

Identify from the following the.NET command that is not a Loop.

A. for
Incorrect.
B. while
Incorrect.
C. switch
Correct!
D. foreach
Incorrect.


Back To Top


Module 2
MODULE 2

1

void RemoveData()

{

}

void RemoveData(int Id)

{

}

Identify the correct statement as per the code mentioned above.

2

Can you identify the keyword required to make a parameter output?

A. out
Correct!
B. output
Incorrect.
C. ref
Incorrect.
D. none of the above
Incorrect.
3

try

{

int a = 200;

}

catch (Exception ex)

{

// handling exception here

}

Identify the correct statement as per the code mentioned above



Back To Top


Module 3
MODULE 3

1

Can you choose which of the statements below stands true about structures?

2

Identify from the following collections which one is used to store key/value objects pair?

A. Hashtable
Correct!
B. Stack
Incorrect.
C. ArrayList
Incorrect.
D. Queue
Incorrect.
3

From the following options, choose one object that is required to define events in .NET?

A. Delegates
Correct!
B. Internal methods
Incorrect.
C. Array
Incorrect.
D. None of the above
Incorrect.


Back To Top


Module 4
MODULE 4

1

Which of these classes cannot be instantiated?

A. abstract classes
Incorrect.
B. static classes
Incorrect.
C. sealed classes
Incorrect.
D. Both a and b
Correct!
2

Complete the sentence with the right option. In an abstract class there can be

3

Can you identify from the following, which can be classified as advantages of Generics?

A. no boxing and unboxing
Incorrect.
B. no casting
Incorrect.
C. type safety
Incorrect.
D. All of the above
Correct!


Back To Top


Module 5
MODULE 5

1

You are required to call an extension method for the String class. A a static method within a static class is created by you. Can you identify from the options below which point can help indicate that your method extends the String type?

2

Identify from the following options which type of method should be implemented in derived classes?

A. Static methods.
Incorrect.
B. Protected methods.
Incorrect.
C. Abstract methods.
Correct!
D. Public methods.
Incorrect.
3

Which of the following members can override keyword be used?

A. Thread
Incorrect.
B. Virtual
Incorrect.
C. Abstract
Incorrect.
D. Both a and b
Correct!


Back To Top


Module 6
MODULE 6

1

You work for a coffee shop as a developer. You are tasked to process a 100GB video file with the help of your coding skills. The code you write must be able to transfer the file from one location on disk, to another location on disk, without reading the entire file into memory. Can you identify the classes you will use to read and write the file?

2

You want to read the content from the text file. Which of the following would you use?

A. Directory.Exists(…)
Incorrect.
B. File.ReadAllText(…)
Incorrect.
C. File.ReadAllLines(…)
Incorrect.
D. Both b and c
Correct!
3

One of the following options cannot be classified as a serializable format. Can you identify which one could it be?

A. XML
Incorrect.
B. Jason
Incorrect.
C. Binary
Incorrect.
D. WPF
Correct!


Back To Top


Module 7
MODULE 7

1

You can use LINQ to query which of the following data sources?

A. SQL Server databases
Incorrect.
B. XML documents
Incorrect.
C. ADO.NET data sets
Incorrect.
D. All of the above
Correct!
2

The ADO.NET Entity Data Model Tools are provided by Visual Studio 2017. The ADO.NET Entity Data Model Tools include three wizards which work with models and data sources. Identify from the following options which one is the best description of Entity Data Model Wizard?

3

Can you spot the advantage(s) of using LINQ instead of traditional ways of querying data?



Back To Top


Module 8
MODULE 8

1

Can you identify from the following statements which one best describes how data that is provided in an HTTP response can be accessed?

2

System.Net namespace is provided by the .NET Framework. The namespace consists of numerous request and response classes through which you can target various data sources. WebRequest is one of the class. Can you identify what it does?

3

You provide remote access to an EDM by creating a WCF Data Service. Which of the following steps would you take to specify which entity sets the data service should make available to client applications?



Back To Top


Module 9
MODULE 9

1

There are items in the ListBox, and to a few selected items you decide to apply a highlighting effect. What steps would you take?

2

A coffee company wants you to create an application which customers can use to place orders for coffees. There should be a list of products from which customers can select the drink they want. There should be four features attached with each item within the application, including the name of the coffee, its description, its price, and an image of the coffee. What action would you take to execute it?

3

You are required to lay out a UI using rows and columns. Identify the container control you must use.

A. The WrapPanel control.
Incorrect.
B. The DockPanel control.
Incorrect.
C. The Canvas control.
Incorrect.
D. The Grid control.
Correct!


Back To Top


Module 10
MODULE 10

1

There are three tasks named task1, task2, and task3, created and started by you. You decide to block the joining thread till the time all these tasks are parked to completion. Identify the code example you think you should use to accomplish this?

2

Following is a signature for a synchronous method you have.

public IEnumerable GetCoffees(string country, int strength)

If you want to convert this method to an asynchronous method, what would the signature of this method be?

3

You want to make sure at one point in time, maximum five threads can access a resource. Identify the synchronization primitive you must use.



Back To Top


Module 11
MODULE 11

1

Can you identify from the following statements which one is the best description for a dynamic keyword?

2

You want to dispose the object implicitly. Which statement would be suitable for it?

A. ConnectionString
Incorrect.
B. Open
Incorrect.
C. Close
Incorrect.
D. Using
Correct!
3

Can you identify from the following options, which of these is a result of object being created in object life cycle?

A. Memory is reclaimed
Incorrect.
B. Memory is allocated
Correct!
C. Resources are released
Incorrect.
D. None of the above
Incorrect.


Back To Top


Module 12
MODULE 12

1

There is a code that uses CodeDOM to generate managed Visual C# at run time. You are reviewing it. Can you identify from the options below what the below mentioned line of code does?

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

Can you identify which class would you use while developing a custom attribute, if you want to derive your custom attribute class from the abstract base class that underpins all attributes?

A. DataAttribute
Incorrect.
B. ContextAttribute
Incorrect.
C. Attribute
Correct!
D. ExtensionAttribute
Incorrect.


Back To Top


Module 13
MODULE 13

1

Asymmetric encryption encrypt data using which key?

A. Internal
Incorrect.
B. Public
Correct!
C. Private
Incorrect.
D. None of the above
Incorrect.
2

Identify the option that is meant for encrypting large amount of data.

A. Brute force
Incorrect.
B. Symmetric encryption
Correct!
C. Asymmetric encryption
Incorrect.
D. None of the above
Incorrect.
3

Can you identify the .Net Framework class which uses a combination of the SHA512 hash algorithm and the Hash-Based Message Authentication Code (HMAC) in order to compute a 512-bit hash.

A. MACTripleDES
Incorrect.
B. SHA512Managed
Incorrect.
C. HMACSHA512
Correct!
D. MD5CryptoServiceProvider
Incorrect.


Back To Top
Product Image

Practice Exam - Programming in C#

Self-Paced

Learning Style

Practice Exam

Learning Style

Beginner

Difficulty

1 Hour

Course Duration

Course Info

Download PDF

Certificate

See Sample

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

You have already taken demo for this course.

If you want to get access to demo again, feel free to contact our support at (855) 800-8240

Outline

More Information

More Information
Lab Access No
Learning Style Self-Paced Learning
Learning Type Practice Exam
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

click here