CS201 MID TERM SOLVED MCQs || PAST PAPERS || GROUP-1 || INTRODUCTION TO PROGRAMMING || VuTech
Visit Website For More Solutions
www.vutechofficial.blogspot.com
CS201
Introduction to Programming
Solved Mid Term Past Papers
______________________________
MCQs
______________________________
Group-1
Question No: 1
There are mainly _________ types of software.
a) Two
b) Three
c) Four
d) Five
Correct Answer:
The correct answer is 'c'.
Question No: 2
In C/C++ the #include is called _______ .
a) Header File
b) Preprocessor Directive
c) Statement
d) Function
Correct Answer:
The correct answer is 'b'.
Question No: 3
&& is ___________ operator.
a) An arithmetic
b) Logical
c) Relational
d) Unary
Correct Answer:
The correct answer is 'b'.
Visit Website For More Solutions
www.vutechofficial.blogspot.com
Question No: 4
In flow chart, the symbol used for decision making is _________ .
a) Rectangle
b) Circle
c) Arrow
d) Diamond
Correct Answer:
The correct answer is 'd'.
Question No: 5
The correct syntax of do-while loop is ______ .
a) (condition ) while; do { statements; };
b) { statements; } do-while ();
c) while(condition); do { statements; };
d) do { statements; } while (condition);
Correct Answer:
The correct answer is 'd'.
Visit Website For More Solutions
www.vutechofficial.blogspot.com
Question No: 6
C++ views each file as a sequential stream of _______ .
a) Bytes
b) Bits
c) 0’s or 1’s
d) Words
Correct Answer:
The correct answer is 'a'.
Question No: 7
If the elements of an array are already sorted then the useful search algorithm is _______ .
a) Linear Search
b) Binary Search
c) Quick Search
d) Random Search
Correct Answer:
The correct answer is 'b'.
Question No: 8
The address operator (&) can be used with ________ .
a) Statement
b) Expression
c) Variable
d) Constant
Correct Answer:
The correct answer is 'c'.
Visit Website For More Solutions
www.vutechofficial.blogspot.com
Question No: 9
When a pointer is incremented, it actually jumps the number of memory addresses
a) According to data type
b) 1 byte exactly
c) 1 bit exactly
d) A pointer variable can’t be incremented
Correct Answer:
The correct answer is 'a'.
Question No: 10
Each pass through a loop is called a/an
a) Enumeration
b) Iteration
c) Culmination
d) Pass through
Correct Answer:
The correct answer is 'b'.