
Quiz 1 (C Basics)
Authored by Kunal Goyal
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is valid Variable name?
5_Number
_number
5number
new number
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
printf("%05d,%-5d,%d,",32,32,32);
00032,32,32
00032,___32___,32
00032,___32,___32
00032,32___,32
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
printf("%6.3f,%06.3f", 45.6,45.6);
45.600,45.600
_45.600,045.600
045.600,_45.600
45.6,45.6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
printf("%d %c",'A','A');
A A
65 65
65 A
A 65
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
printf("ab");
printf("\bsi"):
printf("\rha");
hasi
absiha
haasi
hai
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
printf("%d %f", 12.1,4.5);
12 0.100000
12 4.500000
Garbage 4.500000
Garbage 12.100000
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
printf("%d %f", 12,4);
12 Garbage
12 4.000000
12. 0.000000
12 4.0
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?