
Practice Quizz
Quiz
•
Engineering
•
University
•
Practice Problem
•
Medium
Rishabh Tomar
Used 2+ times
FREE Resource
Enhance your content in a minute
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a computer program?
A set of instructions for a computer to follow.
A type of hardware component.
A programming language.
A software application.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid C statement?
print "Hello, world!";
printf("Hello, world!\n");
echo "Hello, world!";
display "Hello, world!";
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a semicolon (;) in C?
To start a new line.
To end a statement.
To separate variables.
To comment out code.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `%d` format specifier do in `printf()`?
Prints a floating-point number.
Prints a character.
Prints an integer.
Prints a string.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `scanf()` function do?
Prints data to the console.
Reads data from the console.
Declares a variable.
Ends the program.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `if` statement do in C?
Repeats a block of code.
Executes a block of code conditionally.
Declares a variable.
Defines a function.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `for` loop do in C?
Executes a block of code repeatedly.
Executes a block of code conditionally.
Reads data from a file.
Writes data to a file.
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
58 questions
Unit 201 OC2: Types of Craft Quiz
Quiz
•
12th Grade - University
56 questions
Introducción a PHP
Quiz
•
University
55 questions
MT - Chapter 4
Quiz
•
University
60 questions
Preguntas sobre Modelado Numérico
Quiz
•
University
56 questions
Electrical Engineering Quiz
Quiz
•
University
60 questions
Cuestionario sobre minería de tierras raras
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Engineering
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
