
PIF-Quiz 3
Authored by Chun Ng
Engineering
9th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is an algorithm?
A type of programming language
A set of rules for writing code
A step-by-step procedure for solving a problem
A visual representation of a program
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is NOT a basic flowchart symbol?
Process
Decision
Variable
Start/End
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the printf function in C programming?
To read input from the user
To display output on the console
To perform calculations
To declare variables
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct way to declare an integer variable named "count" in C?
variable int count;
int count;
integer count;
count = int;
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which data type is used to store a single character in C?
int
float
char
string
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the result of the expression 10 % 3 in C?
3
1
0
10
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which operator is used to compare if two values are equal in C?
=
==
!=
>
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?