c++ programming

Flashcard
•
University
•
Hard
Wayground Content
FREE Resource
Student preview

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Choose a right C Statement: Loops or Repetition block executes a group of statements repeatedly. Loop is usually executed as long as a condition is met. Loops usually take advantage of Loop Counter.
Back
All the above.
2.
FLASHCARD QUESTION
Front
What is the output of the following C Program?
int main()
{
int a=5;
while(a >= 3);
{
printf("RABBIT\n");
break;
}
printf("GREEN");
return 0;
}
Back
None of the above
3.
FLASHCARD QUESTION
Front
What is the output of the following C Program?
int main()
{
int a=25;
while(a <= 27)
{
printf("%d ", a);
a++;
}
return 0;
}
Back
25 26 27
4.
FLASHCARD QUESTION
Front
What is the output of the following C Program?
int main()
{
int a=32;
do
{
printf("%d ", a);
a++;
}
while(a <= 30);
return 0;
}
Back
32
5.
FLASHCARD QUESTION
Front
What is the output of C Program?
int main()
{
int a=32;
do
{
printf("%d ", a);
a++;
if(a > 35)
break;
}
while(1);
return 0;
}
Back
32 33 34 35
6.
FLASHCARD QUESTION
Front
Choose a correct C Statement: a++ is (a=a+1) POST INCREMENT Operator, a-- is (a=a-1) POST DECREMENT Operator, --a is (a=a-1) PRE DECREMENT Operator, ++a is (a=a+1) PRE INCREMENT Operator.
Back
All the above.
7.
FLASHCARD QUESTION
Front
What is the output of C Program?
int main()
{
int k;
for(k=1; k <= 5; k++);
{
printf("%d ", k);
}
return 0;
}
Back
6
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
6.6 Properties of Definite Integrals

Flashcard
•
12th Grade
15 questions
AP Biology Unit 4

Flashcard
•
12th Grade
10 questions
Clase 1 POO

Flashcard
•
University
15 questions
Cell Cycle and Mitosis Concepts

Flashcard
•
12th Grade
15 questions
test adruino

Flashcard
•
12th Grade
15 questions
C++ Programming wk 13

Flashcard
•
Professional Development
15 questions
Exam 1 Practice

Flashcard
•
University
15 questions
Homeostasis: Feedback Loops

Flashcard
•
KG - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University