
Symposium Round 1

Quiz
•
Engineering
•
University
•
Hard
Dharunkumar V
Used 17+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to create a list in Python?
list = {1, 2, 3}
list = [1, 2, 3]
list = (1, 2, 3)
list = <1, 2, 3>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main() {
int a = 5;
printf("%d %d %d", ++a, a++, a);
return 0;
}
6 5 7
6 6 7
7 6 7
Output is undefined/implementation dependent
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to create a class in Java?
create
class
new
object
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to include a header file in C?
#include "stdio.h"
#include <stdio.h>
include <stdio.h>
Both A and B are correct
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Java code?
public class Test {
static int x = 10;
static {
x = 20;
System.out.print(x + " ");
}
public static void main(String[] args) {
System.out.print(x + " ");
x = 30;
new Test();
System.out.print(x);
}
{
x = 40;
System.out.print(x + " ");
}
}
20 20 40 30
20 20 30 40
10 20 40 30
20 30 40 40
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of:
print(type(5.0))?
<class 'int'>
<class 'float'>
<class 'double'>
<class 'number'>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is NOT a primitive data type in Java?
int
String
boolean
char
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University