
dATATYPES-PART 2
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Hard
Niranjani Vijayan
Used 1+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of int in most modern C compilers on 32-bit systems?
4 bytes
2 bytes
8 bytes
Compiler dependent
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type in C is used to store a single character?
char
int
float
double
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid C data type?
short
long long
byte
long double
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum value that can be stored in an unsigned int on a system where int is 4 bytes?
2^32 - 1
2^31 - 1
2^32
2^31
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare a floating-point number in C?
int
char
float
double
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?#include <stdio.h>
int main() {
int x = 10;
float y = 5.2;
printf("%d %f", x, y);
return 0;
}
10 5.2
10.0 5.2
10 5.200000
Compiler Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
int main() {
char ch = 'A';
printf("%c", ch + 1);
return 0;
}
A
B
66
65
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
10 questions
Day12_Quiz_NBKR
Quiz
•
Professional Development
10 questions
Flutter_Q5
Quiz
•
Professional Development
10 questions
Day16_Quiz_NBKR
Quiz
•
Professional Development
10 questions
Day5_Quiz_NBKR
Quiz
•
Professional Development
10 questions
Simple Easy Basic Lua Quiz
Quiz
•
4th Grade - Professio...
10 questions
IT Challenge
Quiz
•
Professional Development
10 questions
Quiz for Module2
Quiz
•
Professional Development
10 questions
Computer Networs Lab - Viva
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
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
Discover more resources for Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
