Skip to content
VUBuddy

CS201 Quiz 2 Updated June 2023 by Attiq Kundi

Introduction to Programming PDF 3.3 MBUpdated 23 Oct 2026
Quiz CS201 Quiz 2 Updated June 2023 by Attiq Kundi PDF 3.3 MB
vubuddy.com
Type
Quiz
Course
CS201 Introduction to Programming
Size
PDF 3.3 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 3.3 MB

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 1, 2, 3 of 205. Download the file for all 205 pages.

CS201 Quiz-01,02 · Quiz by Attiq Kundi · 100 % CORRECT MCSQ AND Many MoRe · CS 201 · Also Added Today Quiz · 08-june-2023

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;

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.