
COMPUTING 2ND TERM 3rd EDITION

Quiz
•
Computers
•
12th Grade
•
Medium
FAHMI Moe
Used 1+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is not a reserve keyword in C Language?
auto
case
main
register
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A C variable name can start with a ____
Number
Plus Sign (+)
Underscore
Asterisk (*)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Prototype of a function means _____
Name of Function
Output of Function
Declaration of Function
Input of a Function
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Name the loop that executes at least once.
For
If
do-while
while
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many times below for loop will be executed ?
#include<stdio.h>
int main()
{
int i=0;
for(;;)
printf("%d",i);
return 0;
}
Infinite times
0 times
1 times
10 times
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Guess the output of the following program :
#include<stdio.h>
int main()
{
int x = 10;
float y = 10.0;
if(x == y)
printf("x and y are equal");
else
printf("x and y are not equal");
return 0;
}
Run Time Error
Compile Error
x and y are equal
x and y are not equal
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be printed if we execute following program ?
#include<stdio.h>
int main()
{
float a = 0.3;
if(0.3 > a)
printf("True\n");
else
printf("False\n");
return 0;
}
True False
None of these
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
C Programming Quiz

Quiz
•
12th Grade
52 questions
Ulangkaji ASK Ting 2 Bab 3.1 Persekitaran Kod Arahan

Quiz
•
1st - 12th Grade
50 questions
SOAL TIK KLS 12.1 PTS2 24-25

Quiz
•
12th Grade
50 questions
Intro to Computer Science Unit 2

Quiz
•
9th - 12th Grade
45 questions
GCSE Python Legends

Quiz
•
1st - 12th Grade
50 questions
Computer Department GGDSD College, Hariana (16/02/2023)

Quiz
•
12th Grade
50 questions
C Programming Quiz

Quiz
•
12th Grade
50 questions
SOAL TIK KLS 12.2 PTS1 24-25

Quiz
•
12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade