
Practice Quizz

Quiz
•
Engineering
•
University
•
Medium
Rishabh Tomar
Used 1+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
60 questions
HYDRO REMOVAL

Quiz
•
University
64 questions
Seminar Review

Quiz
•
University
62 questions
Pre_UAS_Statistika A2 v1.00

Quiz
•
University
61 questions
Antennas

Quiz
•
University
56 questions
Graphics and Numerical Methods Quiz

Quiz
•
University
60 questions
Engineering Drawing - SG Academy

Quiz
•
University
64 questions
quiz 1050

Quiz
•
University
61 questions
Top Communication Systems Questions

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade