C programming syntax quiz

Quiz
•
Computers
•
University
•
Easy
Karen Tan
Used 4+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Java, part I

Quiz
•
11th Grade - University
15 questions
Code Combat

Quiz
•
University
15 questions
BASIC C PROGRAMMING

Quiz
•
University
15 questions
Qûîz

Quiz
•
University
23 questions
PYTHON - 14.07.2023

Quiz
•
University
20 questions
ISTE TECHNICAL

Quiz
•
University
25 questions
GNIDOC ROUND 1

Quiz
•
University
20 questions
C Programming Quiz(session 1)

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
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
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University