CS201 Quiz 1 Updated May 2023 by Attiq Kundi
- Type
- Quiz
- Course
- CS201 Introduction to Programming
- Size
- PDF 3.3 MB
- 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 1, 2, 3 of 205. Download the file for all 205 pages.
The ASCll code of null character is ---------------- --.
( 000)
correct answer
Which step is not not performed during a proper program design?
(Write details about the performance of program)
correct answer
How many elements are stored in the following ? int matrix [4][5];
(20) correct answer
Which of the following is not a valid variable name in c++?
( studentName) correct answer
If an array has 50 elements. What is allowable range of subscripts?
(0-49) correct answer
<. <=.> .>= are called ----------------------- operators.
(Relational)
correct answer
Why we use “cin “?
(To read data from keyboard) correct answer
!(x<3)means in c++ that
(x is greater than 3) correct answer
The data in the memory is ---------
(volatile) correct answer
Each array declaration must provide the information about all these things except -----
The location of the first element to be stored
What will be the output of the program if x=10? If (x!=0&&x<=10)
Cout <<”condation 1 is true”;
If(x>=10 && x<=20)
Condation 1 is true condation 2 is true
C is widely known development language of operating system.
Windows
A repetition statement specifies that an action is to be continued while some
Condition
is a substitute of multiple if statement.
If—elseif statement
If a finds an error. It stops translating without generating any executable code.
Compiler
Function prototype is written .
Before call of that function
The is an unconditional branch of execution .
Goto statement
What will be the output of the following code snippet?
String str1 = “Hello beautiful”; String str2 = “yes we can”; String str3 = strcpy(str1,str2); Cout<<str3<<endI;
Hello beautiful Yes we can
In two dimensional array .We use „for oop(s)‟to populate the array.
eof is used to check for the of file when a file is being read.
End
How many times the following loop will execute? Int j = 3;
Related CS201 files
All CS201 files →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.