
Quiz Draft

Quiz
•
Computers
•
University
•
Hard
V N GOKUL KRISHNA
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly shows the hierarchy of arithmetic operations in C?
/ + * -
* - / +
+ - / *
/ * + -
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To print out 'a' as an integer and 'b' as a decimal, which of the following printf() statement will you use?
printf("%f %lf", a, b)
printf("%f %f", a, b)
printf("%d %f", a, b)
printf("%f %d", a, b)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not logical operator?
&
&&
||
!
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not logical operator?
&
&&
||
!
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When does the code block following while(x<100) execute?
When x is less than one hundred
When x is greater than one hundred
When x is equal to one hundred
while it wishes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Input/output function prototypes and macros are defined in which header file?
conio.h
stdlib.h
stdio.h
dos.h
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this C code?
#include <stdio.h>
int main()
{
printf("Hello World! %d \n", x);
return 0;
}
Hello World! x;
Hello World! followed by a junk value
Compile time error
Hello World!
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
A4ALGU CLUB EVENT QUIZ

Quiz
•
University
43 questions
Data Structure and Algorithm

Quiz
•
University
35 questions
C Basic Test

Quiz
•
University
40 questions
C++ 3B

Quiz
•
University
35 questions
Kuis 2

Quiz
•
University
44 questions
Round 1 Code2duo

Quiz
•
University
40 questions
Coding Skill Test -I

Quiz
•
University
40 questions
Fun-a-thon Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University