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
18 questions
JavaScript Variables, Data Types, and Operators Flashcard

Flashcard
•
University
15 questions
Flashcard on Object Oriented Programming and Java

Flashcard
•
University
19 questions
AVINYA 2K25

Flashcard
•
University
15 questions
C++ Programming wk 13

Flashcard
•
Professional Development
11 questions
Computer Programming

Flashcard
•
University
15 questions
Homeostasis: Feedback Loops

Flashcard
•
KG - University
20 questions
Control Structures

Flashcard
•
University
17 questions
AP CSA Unit 3 Review

Flashcard
•
12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University