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%
0 votes, 0 avg
7

Your times start now.

Times Up.


Created on By faisal_faisi

CS201

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 will be the value of ā€˜a’ and ā€˜b’ after executing the following statements?
a = 3;
b = a++;

2 / 30

Category: CS201-mid

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

3 / 30

Category: CS201-mid

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

4 / 30

Category: CS201-mid

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

5 / 30

Category: CS201-mid

5. Computer can understand only machine language code.

6 / 30

Category: CS201-mid

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

7 / 30

Category: CS201-mid

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

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. If the file is not properly closed in the program, the program will

10 / 30

Category: CS201-mid

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

11 / 30

Category: CS201-mid

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

12 / 30

Category: CS201-mid

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

13 / 30

Category: CS201-mid

13. UNIX has been developed in ________ language.

14 / 30

Category: CS201-mid

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

15 / 30

Category: CS201-mid

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

16 / 30

Category: CS201-mid

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

17 / 30

Category: CS201-mid

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

18 / 30

Category: CS201-mid

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

19 / 30

Category: CS201-mid

19. bytes are occupied by declaring following array of characters?
char str[] = ā€œprogrammingā€;

20 / 30

Category: CS201-mid

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

21 / 30

Category: CS201-mid

21. Searching is easier when an array is already sorted

22 / 30

Category: CS201-mid

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

23 / 30

Category: CS201-mid

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

24 / 30

Category: CS201-mid

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

25 / 30

Category: CS201-mid

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

26 / 30

Category: CS201-mid

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

27 / 30

Category: CS201-mid

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

28 / 30

Category: CS201-mid

28. What does 5 | 6 , evaluate to in decimal where ā€˜|’ is bitwise OR operator?

29 / 30

Category: CS201-mid

29. known as development language of _______ operating system.

30 / 30

Category: CS201-mid

30. What does 5 ^ 6 , evaluate to in decimal where ā€˜^’ is Exclusive OR operator?

Your score is

The average score is 55%

Share your results with fellow students.

DOWNLOAD CS201 ASSIGNMENT NO 1 SOLUTION

Download

LinkedIn Facebook Twitter VKontakte
0%

Exit

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.