
C_Quiz2
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
MARY T
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the output:
#include <stdio.h>
int x=2;
int main()
{
if (x=2)
printf("hi");
else
printf("how are u");
}
hi
how are u
hi
how are u
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the output:
#include <stdio.h>
int x=2;
int main()
{
if (x=2)
printf("hi");
else
printf("how are u");
printf("ECE");
}
hiECE
how are u
hi
hi
ECE
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the output:
#include <stdio.h>
int x=2;
int main()
{
if (x=2)
printf("hi");
else
{
printf("how are u");
printf("ECE");
}
}
hiECE
how are u
hi
hi
ECE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main()
{
int x = 5;
if (x >5)
printf("hello");
if (x == 5)
printf("hi");
else
printf("no");
}
hiECE
how are u
hi
hi
ECE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main()
{
int x = 5;
if (x >1)
printf("hello");
if (x == 5)
printf("hi");
else
printf("no");
}
hiECE
how are u
hellohi
hi
ECE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main()
{
if(TRUE)
{
printf("India\n");
}
if(true)
{
printf("Honey\n");
}
printf("ZING");
return 0;
}
hiECE
how are u
Error
hi
ECE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int x;
int main()
{
if (x)
printf("hi");
else
printf("how are u");
}
hiECE
how are u
Error
hi
ECE
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
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
15 questions
Computer Science Quiz
Quiz
•
University
13 questions
Continuous probability distributions
Quiz
•
University
10 questions
Java Control Flow statements
Quiz
•
University
10 questions
Soạn thảo văn bản Microsoft Word
Quiz
•
1st Grade - University
11 questions
Java Quiz 3 - Array
Quiz
•
University
10 questions
C++ Array Quiz
Quiz
•
University
11 questions
C++ Ereditarietà
Quiz
•
University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
