
Bim1
Authored by Prakash Magar
Architecture
1st Grade
Used 7+ 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
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?
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
15 questions
nba teams
Quiz
•
1st - 5th Grade
10 questions
Trabajos preliminares.
Quiz
•
1st - 5th Grade
14 questions
Windows
Quiz
•
1st Grade
20 questions
SIAPA BERANI
Quiz
•
1st Grade
10 questions
Building Foundations Level 1 Quiz
Quiz
•
1st Grade
20 questions
Lección 9 escuela sabática
Quiz
•
1st - 3rd Grade
10 questions
BAB 1: (BIL_01)Asas Pemikiran Komputasional
Quiz
•
1st Grade
10 questions
PTS SD
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Architecture
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Life Cycle of a Frog
Quiz
•
1st - 2nd Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
100th Day of School 1st/2nd
Quiz
•
1st - 2nd Grade
15 questions
Reading Comprehension
Quiz
•
1st - 5th Grade
10 questions
Identifying Physical and Chemical Changes
Interactive video
•
1st - 5th Grade
10 questions
Exploring the American Revolution
Interactive video
•
1st - 5th Grade