Symposium Round 1

Symposium Round 1

University

30 Qs

quiz-placeholder

Similar activities

GD&T -1

GD&T -1

University

30 Qs

Programming Lab Quiz

Programming Lab Quiz

University

25 Qs

SCAVENGER

SCAVENGER

University

25 Qs

FT-1

FT-1

University

30 Qs

Chem-Computational Toxicity Tools Quiz

Chem-Computational Toxicity Tools Quiz

University

25 Qs

Dasar Pemrograman TP

Dasar Pemrograman TP

University

25 Qs

Quiz on Electronic Communication

Quiz on Electronic Communication

University

35 Qs

Symposium Round 1

Symposium Round 1

Assessment

Quiz

Engineering

University

Hard

Created by

Dharunkumar V

Used 12+ 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?