- Type
- Quiz
- Course
- CS201 Introduction to Programming
- Size
- PDF 273 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 17. Download the file for all 17 pages.
CS201 GRAND QUIZ
- ------- is used for input file or for reading from the file
- Tellg()
- Following is the declaration a ---- array int arr[2][2][2];
- 3-dimensional
- !(x<3)mean in C++ that
- X is greater than 3
- Which of the following option is correct to complete the declaration of the function ----(parameter1, parameter2) { //code to be executed}
- Void function name
- Of stream is used for
- Output file stream
- By default the starting index of an array in C++ is---
- 0
- How we declare an array of integer data whose size is 20 with array name count
- Int count[20];
- Which of the following is a reserve word for data types in C/C++
- Int
- 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
Related CS201 files
All CS201 files →- CS201 Solution 1 by Junaid Quiz PDF 218 KB
- CS201 Practical Solution 1 by Junaid Quiz CPP 3 KB
- CS201 Highlighted Handouts by VU Sparky Highlighted PDF 5 MB
- CS201 Midterm Solved File 5 by Team Hadi Midterm PDF 4.2 MB
- CS201 Short Notes Set 2 by Ameer Hamza Quiz PDF 977 KB
- CS201 Grand Quiz 2 by Lucky Quiz PDF 3.4 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.