Coding Club_SNSCE Quiz (28-04-2023)

Coding Club_SNSCE Quiz (28-04-2023)

University

30 Qs

quiz-placeholder

Similar activities

Quiz 1 MLTI

Quiz 1 MLTI

University

25 Qs

QUIZ

QUIZ

University

25 Qs

Information Assurance and Security - Prelim Quiz

Information Assurance and Security - Prelim Quiz

University

25 Qs

Kisi-kisi Propper April 2019 Part 2

Kisi-kisi Propper April 2019 Part 2

University

25 Qs

ATS K9

ATS K9

9th Grade - University

30 Qs

Understanding Input, Selection and Loops in Python

Understanding Input, Selection and Loops in Python

7th Grade - University

25 Qs

PreTest Pelatihan Arduino dan IoT

PreTest Pelatihan Arduino dan IoT

University

25 Qs

Coding Club_SNSCE Quiz (28-04-2023)

Coding Club_SNSCE Quiz (28-04-2023)

Assessment

Quiz

Computers

University

Hard

Created by

Kolaa Pravin

Used 1+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which of the following is a valid way to create an empty dictionary in Python?

d={}

d=new dict()

d=empty_dict()

d=dict()

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Output of the following code will be:

int main() {

int x = 5;

int y = x++;

printf("%d %d\n", x, y);

return 0; }

5 5

5 6

6 6

6 5

3.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Choose the different types of conditional statements.

If..then..else

If..then..elseif..else

if..then

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Is javascript object based or class based?

object based

class based

5.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

what is the value of j displayed ?

#include <stdio.h>


int i=9;

int j=0;


int main()

{

int i=10;

i++;

j=i;

printf("value of j is %d", j);

return 0;

}

9

10

11

0

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Give the output of the following code:

x = [1, 2, 3]

y = x

y.append(4)

print(x)

[1,2,3]

[1,2,3,4]

[1,2,4]

[1,2,3,[4]]

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which coding elements makes it easy to repeat steps over and over?

strings

variables

modules

loops

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?