
C Programming Fundamentals Assessment
Quiz
•
Other
•
University
•
Practice Problem
•
Medium
Sunny Saxena
Used 2+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
int a = 5.5;
int b = 4.3;
int c = (double)a + (double)b;
printf("%d", c);
9.8
9
error
blank screen
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which function is used to print output in C?
puts
printf
write
display
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct syntax to declare an integer variable in C?
int myVariable;
int -myVariable;
float myVariable;
integer myVariable;
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the size of an int variable in C on a 32-bit system?
2 bytes
16 bytes
8 bytes
4 bytes
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is type conversion in C?
Type conversion in C is the process of converting a variable from one data type to another
Type conversion in C is only done implicitly.
Type conversion in C refers to changing the variable's name.
Type conversion in C is the process of changing a variable's scope.
6.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
int a='a';
int b=2;
char sum=a+b;
printf("%c",sum);
a
A
c
99
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of the 'if' statement in C?
To create loops in C.
To declare variables in C.
To define a function in C.
To execute code conditionally based on a boolean expression.
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
Already have an account?
Similar Resources on Wayground
17 questions
La casa sulla roccia - Lezione 24, Schede 24A, 24B, 24C
Quiz
•
KG - University
20 questions
RM 263 - Research Methods
Quiz
•
University
17 questions
Basics of Programming with C
Quiz
•
University
13 questions
QUIZ UMUM _DOORPRIZE_MDJ
Quiz
•
University
20 questions
(Q2)第25课
Quiz
•
University
17 questions
Metode Penelitian sesi 2
Quiz
•
University
20 questions
Les Alimentations
Quiz
•
University
16 questions
Ukato no suzume
Quiz
•
University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Other
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
