day5
Quiz
•
Professional Development
•
Professional Development
•
Hard
Samba Siva
Used 15+ times
FREE Resource
Enhance your content in a minute
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the result of 'num' variable after execution of the following statements?
int num = 58;
num % = 11;
3
5
8
11
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main()
{
char arr[7]="Network";
printf("%s", arr);
return 0;
}
Network
N
Garbage Value
Compilation error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include<stdio.h>
int main()
{
float a=0.7;
if(a<0.7)
{
printf("C");
}
else
{
printf("C++");
}
}
C
C++
Compilation Error
None of the these
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main()
{
int a = 1, b=2, c=3;
char d = 0;
if(a,b,c,d)
{
printf("EXAM");
}
}
No Output and No Error
EXAM
Run time error
Compile time error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be output of the following c program?
#include<stdio.h>
int main()
{
int max-val=100;
int min-val=10;
int avg-val;
avg-val = max-val + min-val / 2;
printf("%d",avg-val);
}
55
105
60
Compilation error
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
The "\n" character does which of the following operations?
Double line spacing
Character deletion
Character backspace
Places cursor on the next line
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
Lazada PH Quiz 2: Order Fulfillment and Logistics
Quiz
•
Professional Development
20 questions
English File Test / Beginners
Quiz
•
12th Grade - Professi...
20 questions
Business writing key phrases
Quiz
•
Professional Development
20 questions
Excel: Test Inicial
Quiz
•
Professional Development
20 questions
PRUEBA FINAL TEÓRICA PRÁCTICA
Quiz
•
Professional Development
16 questions
Grammatical and Tech Test
Quiz
•
Professional Development
20 questions
Simulasi Level 1 - Literasi
Quiz
•
Professional Development
16 questions
DTW Quiz 1
Quiz
•
Professional Development
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
