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
15 questions
PROGRAMMING IN PYTHON - UNIT II - TEST 1 MCQS

Quiz
•
University
15 questions
Python Basics

Quiz
•
University
20 questions
variable in python

Quiz
•
University
15 questions
Python Basics

Quiz
•
KG - University
15 questions
CODE ZENITH

Quiz
•
University
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
20 questions
Python for beginners

Quiz
•
University
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade