
C Programming For Loop Review cf
Quiz
•
Computers
•
10th Grade - University
•
Practice Problem
•
Medium
Curtis Forbes
Used 3+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many times will the message be printed in the loop?
for(i = 0; i< 10; i++)
printf("Today is Saturday"
0
9
10
11
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What was omitted from the following line of code?
scanf("%f", cost);
printf
%d
&
#
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
State the error in the code fragment
char[15];
printf("Enter a name");
scanf("%d", &name);
&
char
[15]
%d
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many times will the message be printed?
for(j=0; j<=10; j++)
printf("Happy birthday");
0
9
10
11
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output from the code fragment?
for(j=3; j>0; j--)
printf("%d", j);
1 2 3
0 1 2 3
3 2 1
3 2 1 0
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the following code print?
for(k = 2; k<=10 ; k = k+2)
printf("%d", k);
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10
10 8 6 4 2
2 4 6 8
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For loop are used for bounded iteration
true
false
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Logika Fuzzy
Quiz
•
University
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
10 questions
Mini 2 (5junio)
Quiz
•
University
10 questions
TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)
Quiz
•
University
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
12 questions
Tin học 2
Quiz
•
11th Grade
12 questions
Python Quiz 1.4
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
18 questions
[AP CSP] JavaScript Programming Lesson 2025-2026
Lesson
•
9th - 12th Grade
57 questions
[AP CSP] Unit 5 Review: Internet & Cybersecurity
Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
CompTIA Network+ - Ports and Protocols
Quiz
•
University
