Skip to content
VUBuddy

CS201 Grand Quiz by Junaid

Introduction to Programming PDF 273 KBUpdated 23 Oct 2026
Quiz CS201 Grand Quiz by Junaid PDF 273 KB
vubuddy.com
Type
Quiz
Course
CS201 Introduction to Programming
Size
PDF 273 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 273 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 3, 4 of 17. Download the file for all 17 pages.

CS201 GRAND QUIZ

  1. ------- is used for input file or for reading from the file
  •  Tellg()
  1. Following is the declaration a ---- array int arr[2][2][2];
  •  3-dimensional
  1. !(x<3)mean in C++ that
  •  X is greater than 3
  1. Which of the following option is correct to complete the declaration of the function ----(parameter1, parameter2) { //code to be executed}
  •  Void function name
  1. Of stream is used for
  •  Output file stream
  1. By default the starting index of an array in C++ is---
  •  0
  1. How we declare an array of integer data whose size is 20 with array name count
  •  Int count[20];
  1. Which of the following is a reserve word for data types in C/C++
  •  Int
  1. C was developed with the help of--- language
  •  BCPL and B

10. An object of--- class can be created for saving the current position of any opened file befor reading from the file

  •  Streampos

11. C++is a --- language

  •  High level

12. In while loop the loop counter is initialized at---

  •  Before entering the loop

13. What is the output of the following code if the 3rd case is ture Switch(var)

Case “a”; Cout<<”apple”<<endl;

  •  Mango

14. --- character is used to indicate the end of the string

  •  Null

15. Which one of the following is used to perform bit wise exclusive or operation

16. If x=11, and x%=3, than values of x will be

  •  2

17. A variable of character data type occupies --- bytes in memory

  •  1

18. Null character is represented by --- C++

  •  \0

19. In computer system there are mainly --- type of software

  •  2

20. There is a pointer variable named ptr of type float which type of variable address can be stored by ptr

  •  Float

21. A character is stored in the memory in---

  •  Byte

22. X is a integer variable what does X++ means

  •  Add 1 X value

23. When we call a function its control

  •  Transfers to its definition

24. “\0” takes --- space in the memory

  •  1 Byte

25. ---- will be used for enclosing function statement into a block

26. How can we declare an array of characters whose size is 12 with array name “country”

  •  Char country[12];

27. Following is the declaration of 2D array how many column are declared for this array int arr[3][2];

  •  2

28. If we assign 2.06721 to an integer variable x, what will be the output if we print x using cout<<statement

  •  2

29. We can access a global variable---

  •  From anywhere in the program
All CS201 files →
CS201 Introduction to Programming All CS201 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.