Search Header Logo

8 а тест

Authored by miraida Samuratova

Computers

9th - 12th Grade

Used 1+ times

8 а тест
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a=10

b=3

c=a/b

Print ('c =', int (c))

c+3=5

c=3

(c=2)

c+4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in range (1,10,2):

print ( i )

3

6

8

12

14

15

12

9

6

3

1

2

3

4

5

1

3

5

7

9

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of c in the given code?

a=10

b=3

c=a/b

Print ('c =', int (c))

c+2=5

c=3

c-2=8

c+4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code?

for i in range (1,10,2):

print ( i )

3

6

8

12

14

15

12

9

6

3

1

2

3

4

5

1

3

5

7

9

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

num = 5

if num % 2 == 0:

print('Even number')

else:

print('Odd number')

Even number

Odd number

5

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = [4, 15, -3, 11, -10, 9]

print (a. index (-10))

11

15

4

-10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = [1, 2, 3, 4]

y = [5, 6, 7, 8]

z = x + y

print (z)

1 ,3 5 ,9 11,13 15, 17

[9 8 7 6 5 4 3 2 1]

[1, 2, 3, 4, 5, 6, 7, 8]

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?