
C Programming Coding Assessment
Quiz
•
Computers
•
1st Grade
•
Practice Problem
•
Hard
Jeyam Jacqueline S
Used 2+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the code?
#include
10
15
5
20
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many times the while loop will get executed if a short int is 2 byte wide?
#include
Infinite times
255 times
256 times
254 times
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following errors would be reported by the compiler on compiling the program given below?
#include
There is no break statement in each case.
Expression as in case 3 + 2 is not allowed.
Duplicate case case 5:
No error will be reported.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Point out the error, if any in the program.
#include
Error: No default value is specified
Error: Constant expression required at line case P:
Error: There is no break statement in each case.
No error will be reported.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the program?
#include
3, 4
4, 3
4, 4
Output may vary from compiler to compiler
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many times the program will print "SMTEC" ?
#include
Infinite times
32767 times
65535 times
Till stack overflows
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the program?
#include
25
11
Error
Garbage value
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
20 questions
Bài 11: KIỂU MẢNG MỘT CHỀU
Quiz
•
1st - 10th Grade
20 questions
Bài 1 + 2 Lập trình và các thành phần của ngôn ngữ lập trình
Quiz
•
1st Grade
20 questions
Итоговый тест по Scratch-программированию
Quiz
•
1st - 5th Grade
20 questions
SIMULASI DIGITAL BAB 1
Quiz
•
1st Grade
25 questions
Robotik
Quiz
•
1st Grade
20 questions
dasar komputer
Quiz
•
1st - 10th Grade
20 questions
Tin học 11 chương I
Quiz
•
1st - 12th Grade
20 questions
5. Sınıf Kesirler ve Ondalık Kesirler
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade
