
Super Dream Fit - Tech 1
Quiz
•
Other
•
Professional Development
•
Hard
Vengatesh vengatesh
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
struct {
short s[5];
union {
float y;
long z;
}u;
} t;
22
14
18
10
Answer explanation
The char data type takes one byte in the memory.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#include<stdio.h>
struct st
{
int x;
static int y;
};
int main()
{
printf("%d", sizeof(struct st));
return 0;
}
1
3
4
Compilation Time Error
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Predict output of following program
int main()
{
int i;
int arr[5] = {1};
for (i = 0; i < 5; i++)
printf("%d ", arr[i]);
return 0;
}
1 followed by four garbage values
1 0 0 0 0
1 1 1 1 1
0 0 0 0 0
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
union test
{
int x;
char arr[8];
int y;
};
int main()
{
printf("%d", sizeof(union test));
return 0;
}
12
16
8
Compilation Error
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#include<stdio.h>
int main()
{
int n;
for (n = 9; n!=0; n--)
printf("n = %d", n--);
return 0;
}
9 7 5 3 1
9 8 7 6 5 4 3 2 1
Infinite Loop
9 7 5 3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main()
{
char *ptr = "Genius";
printf("%c", &&*ptr);
return 0;
}
Compiler Error
Garbage Value
Runtime Error
G
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include<stdio.h>
int main()
{
int i = 0;
for (printf("1stn"); i < 2 && printf("2ndn"); ++i && printf("3rdn"))
{
printf("*n");
}
return 0;
}
1st 2nd * 3rd 2nd *
1st 2nd * 3rd 2nd * 3rd
1st 2nd 3rd * 2nd 3rd
1st 2nd 3rd * 1st 2nd 3rd
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
MUSCAB 7 DPC IATCA MAKASSAR
Quiz
•
Professional Development
10 questions
Current affairs and GK
Quiz
•
Professional Development
15 questions
¿cuanto sabes de among us?
Quiz
•
Professional Development
11 questions
Нажимной механизм
Quiz
•
Professional Development
12 questions
IHG One Rewards - 2022
Quiz
•
Professional Development
12 questions
yo bro
Quiz
•
Professional Development
12 questions
General Knowledge
Quiz
•
4th Grade - Professio...
15 questions
China Shipment
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Other
10 questions
Halloween
Quiz
•
Professional Development
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
50 questions
ASL Colors and Clothes
Quiz
•
KG - Professional Dev...
15 questions
Ohms Law
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
