
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
63 questions
Điện tử tương tự 5
Quiz
•
University
55 questions
8.1.1 - Principles of Mechanical Engineering
Quiz
•
10th Grade - University
55 questions
Điện tử tương tự 2
Quiz
•
University
62 questions
Examen Complexivo de Energía
Quiz
•
University
57 questions
Airlaws PD 1570- RA 9497- IRR- RA 776 Prt. 2
Quiz
•
University
58 questions
Frequency Spectrum Quiz
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
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
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University