virtual university Solved PapersThe digital college of Pakistan’s first university based completely on cutting-edge records and communication technologies changed into set up by using the authorities as a public area, no longer-for-income group with a clean venture to provide extraordinarily cheap international-elegance education to college students everywhere in the united states of america. using loose-to-air satellite tv for pc television proclaims and the internet, the virtual college lets in college students to follow its rigorous packages irrespective of their bodily locations. It for this reason aims at alleviating the lack of potential within the current universities at the same time as concurrently tackling the intense shortage of certified professors in the united states of america. by using

vu midterm 2022,vu midterm result 2022,vu midterm exams 2022,vu midterm exams,vu expert,vu midterm result,vu mid term 2022,vu,vu midterm exam 2022,vu midterm past papers,vu midterm exam result,vu midterm exam result 2022,vu midterm preparation 2022,vu midterm exams 2022 full guide,midterm,midterm 2022,how to pasa vu midtem exam 2022,what is vu passing criteria for midterm 2022,vu midtermexams 2022,vu mid term exams 2022,midterm exam 2022,vu midterm


Created on By

cs201 mid term mcq's 2022

1 / 26

int i = 2.5; do { cout i * 2; } while (i > 3 && i < 10);

2 / 26

Searching is easier when an array is already sorted

3 / 26

If an array has 100 elements, what is allowable range of subscripts?

4 / 26

What will be the value of ‘a’ and ‘b’ after executing the following statements?

a = 3;

b = a++;

5 / 26

What will be the correct syntax to initialize all elements of two-dimensional array to

value 0?

6 / 26

Which of the following function returns the size of a string variable?

7 / 26

Computer can understand only machine language code.

8 / 26

If the file is not properly closed in the program, the program ____________.

9 / 26

Which of the following header file include string conversion functions?

10 / 26

The function of cin is

11 / 26

Word processor is

12 / 26

In C/C++ language the header file which is used to perform useful task and manipulation

of character data is

13 / 26

Each pass through a loop is called a/an

14 / 26

What is the correct syntax to declare an array of size 10 of int data type?

15 / 26

Which of the following operator is used to access the value of variable pointed to by a


16 / 26

Analysis is the -------------- step in designing a program

17 / 26

Paying attention to detail in designing a program is _________

18 / 26

statement in curly braces is,

19 / 26

The while loop becomes infinite,

20 / 26

Which of the following function(s) is/are included in stdlib.h header file?

21 / 26

If we want to store a string “abc” in an array str then the size of this array must be

at least,

22 / 26

a single command using cout?

23 / 26

Which of the following is correct way to initialize a variable x of int type with value


24 / 26

If there is more than one statement in the block of a for loop, which of the

following must be placed at the beginning and the ending of the loop block?

25 / 26

Name of an array is a constant pointer.

26 / 26

What will be the value of ‘a’ and ‘b’ after executing the following


a = 3;

b = a++;

Your score is

The average score is 62%