BugBlitz
Quiz
•
Engineering
•
University
•
Practice Problem
•
Hard
chetan nandurkar
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Q1: What is the output?
(Pointer Arithmetic & Undefined Behavior)
c
#include <stdio.h>
int main()
{ int arr[] = {10, 20, 30};
int *p = arr;
printf("%d", p++ + ++*p);
return 0; }
21
31
Undefined Behaviour
Compilation Error
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Q2: What does this code print?
(Function Pointers & Recursion)
c
#include <stdio.h>
int (*func(int x))(int) {
return x > 0 ? func : NULL; }
int main() {
printf("%p", func(5)(0));
return 0; }
0
segmentation fault
Address of func
Compilation Error
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Q3: What is the output? (Templates & SFINAE)
cpp
#include <iostream>
template auto foo(T x) -> decltype(x + 1)
{ return x + 1;
} int main()
{ std::cout << foo("hello");
return 0; }
hello1
Compilation Error
Undefined Behavior
Runtime Error
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Q4: What does this code output? (Lambda & Capture Semantics)
cpp
#include <iostream>
int main() {
int x = 10;
auto f = [&x]() mutable { x = 20; };
f(); std::cout << x; return 0; };
10
20
Comilation Error
Undefined Behavior
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Q5: What is the output? (Metaclasses & Inheritance)
python
class Meta(type):
def new(cls, name, bases, dct):
dct['x'] = 100
return super()._new_(cls, name, bases, dct)
class A(metaclass=Meta):
pass
print(A.x)
100
AttributrError
TypeError
0
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Q6: What does this code print? (Generator Coroutines)
python
def gen():
yield (yield (yield 1))
g = gen()
print(next(g))
print(g.send(2))
print(g.send(3))
1 2 3
1 3 stopiteration
1 2 stopiteration
TypeError
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Q7: What happens with this CSS Grid? (Subgrid & Alignment)
css
.container {
display: grid;
grid-template-columns: subgrid;
gap: 10px;
}
.item {
grid-column: span 2; }
Items span 2 columns in a subgrid
subgrid is invalid
Items stack vertically
Overlapping items
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
Already have an account?
Similar Resources on Wayground
10 questions
Aircraft Structure Chapter 1
Quiz
•
University
10 questions
Penentuan Posisi dan Kerangka Dasar Horisontal
Quiz
•
11th Grade - University
15 questions
Lesson 7 Structuring a PLC Program
Quiz
•
University
20 questions
DIAGRAMA DE ISIKAWA
Quiz
•
University
20 questions
Club Excel - Core Member Recruitment 2K25
Quiz
•
University
10 questions
Notasi Algoritmik
Quiz
•
University
20 questions
Quizotronics Quiz
Quiz
•
University
15 questions
Quiz Workshop Proteus 2025
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Engineering
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
