
C programming syntax quiz
Authored by Karen Tan
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
OPEN ENDED QUESTION
5 mins • 10 pts
Type the code snippet to Print "Hello World" if x is greater than y.
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
5 mins • 10 pts
Type the code snippet to Print "Hello World" if x is equal to y.
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
5 mins • 10 pts
Type the code snippet to Print "Yes" if x is equal to y, otherwise print "No"
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
5 mins • 10 pts
Type the code snippet to Print "1" if x is equal to y, print "2" if x is greater than y, otherwise print "3".
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
5 mins • 10 pts
Type the code snippet to display what day it is using an int day variable and switch statement
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
5 mins • 10 pts
Type the code snippet to Print i as long as i is less than 6 using the while loop.
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
5 mins • 10 pts
Type the code snippet to Use the do/while loop to print i as long as i is less than 6.
Evaluate responses using AI:
OFF
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
15 questions
python basics
Quiz
•
11th Grade - University
20 questions
techy quiz
Quiz
•
University
20 questions
Web Development and Programming
Quiz
•
University
20 questions
data structures1
Quiz
•
University
16 questions
Quiz on List and Tuples
Quiz
•
University
15 questions
OS Quiz-1
Quiz
•
University
20 questions
Exploring Portfolio Strategies and Analysis
Quiz
•
University
15 questions
Digital Etiquette
Quiz
•
4th Grade - 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade