Symposium Round 1

Symposium Round 1

University

30 Qs

quiz-placeholder

Similar activities

CUDA C/C++ Basics Quiz

CUDA C/C++ Basics Quiz

University

25 Qs

S&S CIE-III: MCQ on Unit 5 and 6_ AY 2024-25 Term II

S&S CIE-III: MCQ on Unit 5 and 6_ AY 2024-25 Term II

University

26 Qs

Software Engineering Quiz

Software Engineering Quiz

University

35 Qs

Quiz Round

Quiz Round

University

30 Qs

Embedded Systems and IoT Careers Quiz

Embedded Systems and IoT Careers Quiz

University

25 Qs

MCQs on Manholes

MCQs on Manholes

University

30 Qs

Symposium Round 1

Symposium Round 1

Assessment

Quiz

Engineering

University

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?