first round quiz

Quiz
•
Computers
•
Professional Development
•
Hard
dev kings
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
1.What is the output of this C code?
#include void main()
{ int x=1,y=0,z=5;
int a=x&&y||z++;
printf("%d",z);
}
6
5
0
varies
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2.What is the output of this C code?#include void main()
{ int x=1,z=3;
int y=x<<3;
printf("%d\n",y);
}
-2147483648
Runtime Error
8
-1
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
3.What will be the output?void main() {
i=0x10+010+10;
printf("\nx=%x",i);
}
I=34
x=22
x=34
error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
4.Int i=20;
Printf(“%X”,i);
What is the output?
20
15
14
error
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the size of the following union declaration?
Union test {
int x;
char y;
float z;
};
5
4
6
7
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the size of the following union declaration?
struct test{
int x;
char y;
float z;
};
4
5
6
7
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
7.What will be the output of the following C code?
#include int main()
{ int x = 1, y = 2;
int z = x & y == 2;
printf("%d\n", z);
}
0
1
error
depends on complier
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Linked List

Quiz
•
Professional Development
20 questions
Examen de Python

Quiz
•
Professional Development
21 questions
NumPy Quiz

Quiz
•
Professional Development
15 questions
C Module 1 Quiz

Quiz
•
Professional Development
25 questions
C module 1 second quiz

Quiz
•
Professional Development
20 questions
Python Programming - Test 1

Quiz
•
University - Professi...
25 questions
C second module quiz

Quiz
•
Professional Development
22 questions
Python basics

Quiz
•
Professional Development
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
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development