CS201 Midterm Past Paper Online Practice Quiz

midterm past paper quiz
midterm past paper quiz

CS201 Midterm Past Paper

You have come here while searching for cs201 midterm past papers. But before going to download the cs201 midterm past paper. I have a better option for you. That is, that you can attempt the online quiz of cs201.

Practice Quiz from CS201 Midterm Past Paper

This quiz will evaluate your preparation for the cs201 midterm examination and it is based on the past papers of cs2021. The purpose of this quiz is to evaluate your performance in this subject. If you can pass this quiz, then there is a great chance that you can secure good marks in your exams.

0 votes, 0 avg

Your times start now.

Times Up.

Created on By faisal_faisi


midterm past paper quiz

CS201 Mid Term Quiz for Practice

Welcome to CS201 Midterm Online Practice Quiz.

You can check your preparation of CS201 for your Exams here.

1 / 30

Category: CS201-mid

1. What is the output of the following statement?
int i = 2.5; do { cout i * 2; } while (i > 3 && i < 10);

2 / 30

Category: CS201-mid

2. UNIX has been developed in ________ language.

3 / 30

Category: CS201-mid

3. In order to get 256 from the number 2568 we divide this number by 10 and take

4 / 30

Category: CS201-mid

4. known as development language of _______ operating system.

5 / 30

Category: CS201-mid

5. The data type before a function name represents its,

6 / 30

Category: CS201-mid

6. What does 5 | 6 , evaluate to in decimal where ‘|’ is bitwise OR operator?

7 / 30

Category: CS201-mid

7. Which of the following functionreturns the size of a string variable?

8 / 30

Category: CS201-mid

8. What will be the value of i and j in the following code segment?
int i, j ;
int x[5] = {2, 3, 4, 8, 9} ;
int *ptr =&x[2];
i = (*ptr)++ ;
j = *ptr++ ;

9 / 30

Category: CS201-mid

9. The condition in while loop may contain logical expression but not relational expression

10 / 30

Category: CS201-mid

10. Searching is easier when an array is already sorted

11 / 30

Category: CS201-mid

11. What will be the correct syntax to initialize all elements of two-dimensional array to value 0?

12 / 30

Category: CS201-mid

12. Which of the following header file include string conversion functions?

13 / 30

Category: CS201-mid

13. When an array element is passed to a function, it is passed by

14 / 30

Category: CS201-mid

14. What will be the range of numbers generated by function rand () % 9?

15 / 30

Category: CS201-mid

15. If the file is not properly closed in the program, the program will

16 / 30

Category: CS201-mid

16. Member function tellg() returns the current location of the _____________ pointer

17 / 30

Category: CS201-mid

17. Declaring structures does not mean that memory is allocated.

18 / 30

Category: CS201-mid

18. What does 5 ^ 6 , evaluate to in decimal where ‘^’ is Exclusive OR operator?

19 / 30

Category: CS201-mid

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

20 / 30

Category: CS201-mid

20. bytes are occupied by declaring following array of characters?
char str[] = “programming”;

21 / 30

Category: CS201-mid

21. If the break statement is missed in switch statement then,

22 / 30

Category: CS201-mid

22. What will be the result of expression x%= 2, if x = 7?

23 / 30

Category: CS201-mid

23. the correct syntax for initialization of pointer ptr with string "programming"?

24 / 30

Category: CS201-mid

24. the correct syntax for initialization of pointer ptr with string "programming"?

25 / 30

Category: CS201-mid

25. the result of arithmetic expression 6+27/3*3?

26 / 30

Category: CS201-mid

26. The correct syntax of do-while loop is,

27 / 30

Category: CS201-mid

27. What will be the value of ‘a’ and ‘b’ after executing the following statements?
a = 3;
b = a++;

28 / 30

Category: CS201-mid

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

29 / 30

Category: CS201-mid

29. What does !(7) evaluate to in decimal where ! is a NOT operator?

30 / 30

Category: CS201-mid

30. Computer can understand only machine language code.

Your score is

The average score is 55%

Share your results with fellow students.



LinkedIn Facebook Twitter VKontakte


Note before downloading CS201 midterm past paper

One thing to note dear fellows that you must don’t rely on these papers only. They can be a source of help but not an ultimate solution. If you want to get good marks in your exams you are advised to go through all of your handouts and must watch all of the video lectures.

CS201 Introduction to programming

CS201 Introduction to programming is the main subject for programmers. If anyone has a strong grip on this subject, definitely that student will prosper in programming. I hope that your preparation for this subject will be outstanding.

Golden rules for good marks in VU Exams.

As per my experience, I have developed some golden rules for getting good marks in Virtual University Exams based on experience. I got 3.96 CGPA by following these rules. So here they are:

  1. Never miss your Quiz, Assignment, or GDB.
  2. Always try to do your Assignment on your own.
  3. Try your best to finish your video lectures 10 days before exams.
  4. Try your best to read your handouts twice before exams.
  5. Read forward attempt backward.
  6. Never schedule more than one paper on the same day.
  7. Your most difficult paper should have a gap of 1 or more days.
  8. Toughest paper must be scheduled first.
  9. Read questions forward and attempt backward.
  10. Don’t waste your time during a paper on illegal activities.

You can also download the Latest VU Handouts

To download the CS201 midterm past paper click here.