Coding Club_SNSCE Quiz (28-04-2023)

Coding Club_SNSCE Quiz (28-04-2023)

University

30 Qs

quiz-placeholder

Similar activities

Python Programming Basics 1

Python Programming Basics 1

University

25 Qs

TECH_IQ_HUNT ROUND

TECH_IQ_HUNT ROUND

University

25 Qs

c programming

c programming

University

30 Qs

AP CSA Unit 1&2 Test

AP CSA Unit 1&2 Test

8th Grade - Professional Development

25 Qs

Programming Skills C/C++

Programming Skills C/C++

University

25 Qs

Java Method

Java Method

University

25 Qs

Code Carnival

Code Carnival

University

25 Qs

Round_1 (B)| Coding Combat 2.0

Round_1 (B)| Coding Combat 2.0

University

30 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?