A4ALGU CLUB EVENT QUIZ

A4ALGU CLUB EVENT QUIZ

University

40 Qs

quiz-placeholder

Similar activities

String in Python

String in Python

University

36 Qs

Data Structure PrelimExam

Data Structure PrelimExam

University

35 Qs

JABURAT

JABURAT

University

35 Qs

CodeStorm Round 1

CodeStorm Round 1

University

40 Qs

Java Assignment Quiz

Java Assignment Quiz

University

41 Qs

untitled

untitled

University

40 Qs

term 2 practice grade 7

term 2 practice grade 7

7th Grade - University

35 Qs

CS322 Python - Quiz 01

CS322 Python - Quiz 01

University

35 Qs

A4ALGU CLUB EVENT QUIZ

A4ALGU CLUB EVENT QUIZ

Assessment

Quiz

Computers

University

Easy

Created by

GOVIND SHARMA

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

CHOOSE THE LANGUAGE OF GIVEN SWITCH SYNTAX:

switch(expression) { 

case x:  

  // code block   

break; 

case y:   

// code block   

break; 

default:   

// code block};

C

C++

JAVA

ALL OF THESE

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

CHOOSE THE LANGUAGE OF GIVEN FOR LOOP SYNTAX:

for (statement 1; statement 2; statement 3)

// code block to be executed}

C

PYTHON

JAVA

BOTH A & C

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is the correct identifier in C++?

$var_name

varname@

VAR_123

None of the above

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

CHOOSE THE LANGUAGE OF GIVEN SYNTAX OF FOR LOOP:

for (type variableName : arrayName) { // code block to be executed }

C

JAVA

C++

NONE OF ABOVE

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which one of these lists contains only Java programming language keywords?

Class , if , void , long , int , continue.

Goto , instanceof , native , finally , default , throws.

Try , virtual , thrown , final , volatile , transient.

Scriptfp, sondtant, super, implements , do.

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

CHOOSE THE LANGUAGE OF GIVEN SYNTAX OF LAMDA FUNCTION:

x = lambda a :

a + 10print(x(5))

PYTHON

C

JAVA

NONE OF ABOVE

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which will legally declare , construct , and initialize an array in java programming language?

int[] myList = {"1" , "2" ,"3"};

int[] myList = (5 , 8, 2);

int myList [] [] = { 4 , 9, 7, 3};

int myList [] = {4 , 3, 7};

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?