We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

# CS 201 QUIZ NUMBER 01 OPENING DATE 24-11-14 CLOSE DATE 25-11-14

CS 201 QUIZ NUMBER 01 OPENING DATE 24011-14  CLOSE DATE 25-11-14

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

Views: 2681

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

### Replies to This Discussion

What will be the output of following code segment? for (int i = 2; i<10; i++){ if ( i == 5) continue; cout i "," ; }

• 2,3,7,8,9

• 2,3,4,6,7,8,9

• 2,3,4

• 4,6,7,8,9

• 2,3,4,6,7,8,9

cause at 5, it will not print only.

why??? give reason plz

{ if ( i == 5) continue;

at 5, it will revert back to loop and will not print number "5"

but number "4" will be printed.

While loop becomes infinite in which scenario _______.

• When the condition is always False

• When the condition is always True

• Condition contains logical operators

• Condition contains arithmetic operators

true

• In loops the conditions are of ______ kind of expressions

• Boolean expressions

• Constant expressions

• Primary expressions

• Secondary expression

• Boolean expressions

What will be the output of the following while loop? int counter = 0 ; while(counter < 15) cout counter “ ”; counter++;

• 1 2 3 4

• 1 2 3 4 5

• Compile time error

• Infinite loop

error q??

correct ...error hi ata h

•           When we call a function, its control

• transfers to its Prototype

• transfers to its definition

• returns to statement following function call

• The compiler stops execution of whole program

## Latest Activity

14 minutes ago
14 minutes ago
+ıllıllı \$µǥąя ǥ€ɲɨµ\$ ıllıllı+ posted discussions
15 minutes ago
31 minutes ago
31 minutes ago
Rumz zahra posted a discussion

34 minutes ago
2 hours ago
2 hours ago
2 hours ago
2 hours ago
2 hours ago
2 hours ago

1

2

3