Gud Luck for Final Term Examination Spring 2017

Gud Luck for Final Term Examination Spring 2017
 


CS201 Solved MCQs

CS201- Introduction to Programming. Latest Solved Mcqs from Previous Final Term Papers. Solved MCQs are from 23 to 45 Lectures. You can download complete Solved MCQs from here: Cs201 Complete Solved MCQs.pdf

CS201 Latest Solved MCQs (23 to 45 Lectures)
CS201 Latest Solved MCQs (23 to 45 Lectures)

CS201 Introduction to Programming Question # 1 

We can also use member functions with cin and cout objects
 1) : True
 2) : FALSE

 Correct Option : 2

CS201 Introduction to Programming Question # 2

If the statements int j,k; j = 123; k= 234; int* q, * r; cout < < *q < < ' ' < < * r ; are executed, what will be displayed?
 1) : The values of j and k
 2) : The addresses of q and r
 3) : The addresses of j and k
 4) : garbage values

 Correct Option : 4

CS201 Introduction to Programming Question # 3

 Which one of the following operators is a unary operator?
 1) : OR ( || )
 2) : AND ( &&)
 3) : XOR ( ^ )
 4) : Complement operator ( ~ )

 Correct Option : 4

CS201 Introduction to Programming Question # 4 

 The statement i++; is equivalent to
 1) : i = i + i;
 2) : i = i + 1;
 3) : i = i - 1;
 4) : i --;

Correct Option : 2

CS201 Introduction to Programming Question # 5

If we open a file stream myfile for reading, what will give us the current position of the file pointer? 1) : tellg()
 2) : tellp()
 3) : seekg()
 4) : seekp()

 Correct Option : 1

CS201 Introduction to Programming Question # 6

 Application Software’s are use to
 1) : Type letters
 2) : Control computer hardware
 3) : Solve end user problems
 4) : Develop Graphics

 Correct Option : 3

CS201 Introduction to Programming Question # 7 

 When we write a class template the first line must be:
 1) : template < class class_type>
 2) : template < class data_type>
 3) : template < class T >, Here T can be replaced with any name but it is preferable.
 4) : class template

 Correct Option : 3


CS201 Introduction to Programming Question # 8 

 When a macro takes arguments then it is called_________________.
 1) : Function
 2) : Procedure
 3) : Parameterized macro
 4) : Simple macro

 Correct Option : 3

CS201 Introduction to Programming Question # 9 

 By default an array of characters is passed by value to a function,
 1) : TRUE
 2) : FALSE

 Correct Option : 2

CS201 Introduction to Programming Question # 10

Using dynamic memory is more efficient then the static memory.
 1) : True
 2) : FALSE

Correct Option : 1

CS201 Introduction to Programming Question # 11

 Using dynamic memory is more _____________ then the static memory.
 1) : Costly
 2) : Expansive
 3) : efficient
 4) : Difficult

 Correct Option : 3

CS201 Introduction to Programming Question # 12

 Before exiting the program, make sure that the allocated memory has freed.
 1) : True
 2) : FALSE

Correct Option : 1

CS201 Introduction to Programming Question # 13

A preprocessor directive is identified by _________ symbol
 1) : #
 2) : $
 3) : %
 4) : ##

 Correct Option : 1

CS201 Introduction to Programming Question # 14

The default constructor has no arguments
 1) : True
 2) : FALSE

 Correct Option : 1

CS201 Introduction to Programming Question # 15 

 The data members of the class are initialized at runtime
1) : True
2 ) : FALSE

Correct Option : 1

You can also read about:



For More CS201 Solved MCQs Download the PDF file from link below:

Download Link for Complete CS201 Solved MCQs



Post a Comment

 
Top