
Bim1
Quiz
•
Architecture
•
1st Grade
•
Practice Problem
•
Medium
Prakash Magar
Used 7+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is NOT a valid data type in C?
int
string
char
float
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the syntax to declare a variable in C?
var_name data_type;
type var_name;
variable data_type;
data_type var_name;
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does the 'scanf' function do in C?
Clears the console screen
Reads input from the user
Prints output to the console
None of the above
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is the correct way to comment a single line in C?
-- Comment
# Comment
/* Comment */
// Comment
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the "sizeof" operator in C?
It returns the size of a pointer in bytes
It returns the size of a data type in bytes
It returns the size of a function in bytes
It returns the size of a variable in bytes
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct way to initialize an array of integers in C?
int arr{}(1, 2, 3, 4, 5);
int arr{} = {1, 2, 3, 4, 5};
int arr() = {1, 2, 3, 4, 5};
int arr[] = {1, 2, 3, 4, 5};
7.
FILL IN THE BLANK QUESTION
20 sec • 2 pts
Which keyword is used to define a constant in C?
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
10 questions
T4: Concept of Load-Bearing and Frame Structure
Quiz
•
1st Grade
10 questions
BG CH 5
Quiz
•
1st - 5th Grade
20 questions
Fundamentals of Electricity and Electronics
Quiz
•
1st Grade - University
10 questions
Backhoes
Quiz
•
KG - 1st Grade
20 questions
asia
Quiz
•
1st - 5th Grade
15 questions
Monumentos/Monuments
Quiz
•
1st - 12th Grade
13 questions
Lego
Quiz
•
KG - Professional Dev...
15 questions
Konstruksi Jalan
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Architecture
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
20 questions
Multiplication Mastery Checkpoint
Quiz
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
16 questions
natural resources
Quiz
•
1st Grade
20 questions
Identify Coins and Coin Value
Quiz
•
1st Grade
24 questions
Addition
Quiz
•
1st Grade
