C# MOCK TEST C# MOCK TEST II

Similar documents
DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST II

DB2 MOCK TEST DB2 MOCK TEST I

C# MOCK TEST C# MOCK TEST I

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST III

PERL MOCK TEST PERL MOCK TEST II

JAVA MOCK TEST JAVA MOCK TEST II

ANGULARJS - MOCK TEST ANGULARJS MOCK TEST II

MAVEN MOCK TEST MAVEN MOCK TEST I

PYTHON MOCK TEST PYTHON MOCK TEST III

CICS MOCK TEST CICS MOCK TEST I

GO MOCK TEST GO MOCK TEST I

COBOL MOCK TEST COBOL MOCK TEST III

MAVEN MOCK TEST MAVEN MOCK TEST IV

NODE.JS MOCK TEST NODE.JS MOCK TEST IV

JAVASCRIPT MOCK TEST JAVASCRIPT MOCK TEST I

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV

JAVA MOCK TEST JAVA MOCK TEST IV

MAVEN MOCK TEST MAVEN MOCK TEST III

JSP MOCK TEST JSP MOCK TEST III

HTML5 MOCK TEST HTML5 MOCK TEST I

JAVA MOCK TEST JAVA MOCK TEST III

VB.NET MOCK TEST VB.NET MOCK TEST III

CSS MOCK TEST CSS MOCK TEST III

NODE.JS MOCK TEST NODE.JS MOCK TEST I

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I

PL/SQL MOCK TEST PL/SQL MOCK TEST IV

EJB MOCK TEST EJB MOCK TEST IV

HIVE MOCK TEST HIVE MOCK TEST III

JSP MOCK TEST JSP MOCK TEST IV

HBASE MOCK TEST HBASE MOCK TEST III

VB.NET MOCK TEST VB.NET MOCK TEST I

QC MOCK TEST QC MOCK TEST

HIBERNATE MOCK TEST HIBERNATE MOCK TEST II

GO - OPERATORS. This tutorial will explain the arithmetic, relational, logical, bitwise, assignment and other operators one by one.

JDBC MOCK TEST JDBC MOCK TEST IV

ANDROID MOCK TEST ANDROID MOCK TEST IV

SPRING MOCK TEST SPRING MOCK TEST I

GWT MOCK TEST GWT MOCK TEST I

Character Stream : It provides a convenient means for handling input and output of characters.

JQUERY MOCK TEST JQUERY MOCK TEST III

JCL MOCK TEST JCL MOCK TEST IV

Declaring Pointers. Declaration of pointers <type> *variable <type> *variable = initial-value Examples:

QUIZ. 1. Explain the meaning of the angle brackets in the declaration of v below:

NODE.JS MOCK TEST NODE.JS MOCK TEST II

C Programming Language (Chapter 2 of K&R) Variables and Constants

DOCUMENT SECURITY IN WORD 2010

by Pearson Education, Inc. All Rights Reserved.

HTML5 MOCK TEST HTML5 MOCK TEST IV

Functions. Lab 4. Introduction: A function : is a collection of statements that are grouped together to perform an operation.

At this time we have all the pieces necessary to allocate memory for an array dynamically. Following our example, we allocate N integers as follows:

JCL MOCK TEST JCL MOCK TEST III

MATLAB - FUNCTIONS. Functions can accept more than one input arguments and may return more than one output arguments.

Defining Classes and Methods

Data Types & Variables

QTP MOCK TEST QTP MOCK TEST II

LESSON 5 FUNDAMENTAL DATA TYPES. char short int long unsigned char unsigned short unsigned unsigned long

EL6483: Brief Overview of C Programming Language


Introduction to C. Why C? Difference between Python and C C compiler stages Basic syntax in C

Programming Fundamentals (CS-302 )

Programming in C++ 6. Floating point data types

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Computer Programming C++ (wg) CCOs

Faculty of Engineering Computer Engineering Department Islamic University of Gaza C++ Programming Language Lab # 6 Functions

Computers Programming Course 5. Iulian Năstac

3. Except for strings, double quotes, identifiers, and keywords, C++ ignores all white space.

JAVA.LANG.INTEGER CLASS

PASCAL - RECORDS. To define a record type, you may use the type declaration statement. The record type is defined as

CSc Introduction to Computing

PASCAL - OBJECT ORIENTED

C++ For Science and Engineering Lecture 15

COMPILER DESIGN - RUN-TIME ENVIRONMENT

Fundamentals of Programming Session 20

Exercise: Inventing Language

Introduction to Programming Using Java (98-388)

Lecture 2 Tao Wang 1

C++ Quick Guide. Advertisements

Storage class and Scope:

CS 231 Data Structures and Algorithms, Fall 2016

Array. Prepared By - Rifat Shahriyar

c-lambda: C FFI via raco ctool

QUIZ Friends class Y;

What are the characteristics of Object Oriented programming language?

PARROT - PROGRAMMING EXAMPLES

Tutorial 1: C-Language

C LANGUAGE AND ITS DIFFERENT TYPES OF FUNCTIONS

Midterm CSE 131B Spring 2005

Informatics Ingeniería en Electrónica y Automática Industrial

QUIZ. Source:

Today. o main function. o cout object. o Allocate space for data to be used in the program. o The data can be changed

The New C Standard (Excerpted material)

CSCI 2212: Intermediate Programming / C Review, Chapters 10 and 11

IT 1033: Fundamentals of Programming Data types & variables

QUIZ. What are 3 differences between C and C++ const variables?

CS2141 Software Development using C/C++ C++ Basics

SCALA ARRAYS. Following picture represents array mylist. Here, mylist holds ten double values and the indices are from 0 to 9.

Lab 03 - x86-64: atoi

AWK - PRETTY PRINTING

SWIFT - CLOSURES. Global Functions Nested Functions Closure Expressions. Have a name. Capture values from enclosing function

CMSC 313 Fall2009 Midterm Exam 1 Section 01 October 12, 2009

Transcription:

http://www.tutorialspoint.com C# MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to C#. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself. C# MOCK TEST II Q 1 - Which of the following converts a type to a 64-bit integer in C#? D - ToInt32 Q 2 - Which of the following converts a type to a signed byte type in C#? D - ToInt32 Q 3 - Which of the following converts a type to a small floating point number in C#? D - ToInt32 Q 4 - Which of the following converts a type to a string in C#?

Q 5 - Which of the following converts a type to a specified type in C#? Q 6 - Which of the following converts a type to an unsigned int type in C#? B - ToUInt16 Q 7 - Which of the following converts a type to an unsigned long type in C#? B - ToUInt16 C - ToUInt32 Q 8 - Which of the following converts a type to an unsigned big type in C#? B - ToUInt16 C - ToUInt32 D - ToUInt64 Q 9 - Which of the following operator returns the size of a data type in C#? A - sizeof Q 10 - Which of the following operator returns the type of a class in C#?

A - sizeof Q 11 - Which of the following operator returns the address of an variable in C#? A - sizeof Q 12 - Which of the following operator creates a pointer to a variable in C#? A - sizeof Q 13 - Which of the following operator represents a conditional operation in C#? A -?: B - is C - as Q 14 - Which of the following operator determines whether an object is of a certain type in C#? A -?: B - is C - as Q 15 - Which of the following operator casts without raising an exception if the cast fails in C#? A -?: B - is C - as

Q 16 - Which of the following statements is correct about encapsulation? A - Encapsulation is defined as the process of enclosing one or more items within a physical or logical package. B - Encapsulation, in object oriented programming methodology, prevents access to implementation details. C - Abstraction allows making relevant information visible and encapsulation enables a programmer to implement the desired level of abstraction. D - All of the above. Q 17 - Which of the following statements is correct about access specifiers in C#? A - Encapsulation is implemented by using access specifiers. B - An access specifier defines the scope and visibility of a class member. C - Both of the above. Q 18 - Which of the following access specifier in C# allows a class to expose its member variables and member functions to other functions and objects? Q 19 - Which of the following access specifier in C# allows a class to hide its member variables and member functions from other functions and objects? Q 20 - Which of the following access specifier in C# allows a child class to access the member variables and member functions of its base class?

Q 21 - Which of the following access specifier in C# allows a class to expose its member variables and member functions to other functions and objects in the current assembly? Q 22 - Which of the following access specifier in C# allows a class to hide its member variables and member functions from other class objects and functions, except a child class within the same application? A - Protected Internal Q 23 - Which of the following method copies the actual value of an argument into the formal parameter of the function? A - Value parameters B - Reference parameters C - Output parameters Q 24 - Which of the following method copies the reference to the memory location of an argument into the formal parameter? A - Value parameters B - Reference parameters C - Output parameters Q 25 - Which of the following method helps in returning more than one value? A - Value parameters B - Reference parameters C - Output parameters ANSWER SHEET

Question Number Answer Key 1 A 2 B 3 C 4 D 5 A 6 B 7 C 8 D 9 A 10 B 11 C 12 D 13 A 14 B 15 C 16 D 17 C 18 A 19 B 20 C 21 D 22 A 23 A 24 B 25 C Loading [MathJax]/jax/output/HTML-CSS/jax.js