Init Me 3.1-1

Init Me 3.1-1

University

13 Qs

quiz-placeholder

Similar activities

Comandos linux

Comandos linux

University

15 Qs

If else

If else

University

15 Qs

HTML & CSS

HTML & CSS

6th Grade - Professional Development

16 Qs

HTML тегтері

HTML тегтері

1st Grade - University

13 Qs

Ujian Tengah Semester Struktur Data

Ujian Tengah Semester Struktur Data

University

10 Qs

DS UNIT-2 TEST-1

DS UNIT-2 TEST-1

University

10 Qs

Quiz 2 - CS110

Quiz 2 - CS110

University

15 Qs

Web Design- HTML Review

Web Design- HTML Review

KG - University

17 Qs

Init Me 3.1-1

Init Me 3.1-1

Assessment

Quiz

Computers

University

Hard

Created by

CPSK KU

Used 2+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

(2*math.pi*n)**0.5*((n/math.e)**n

math.sqrt(2*math.pi*n)*n**(n/math.e)

2*math.pi*n**0.5*math.pow(n/math.e,n)

((2*math.pi*n)**0.5)*n/math.e**n

math.sqrt(2*math,pi*n)*n**(n/math.e)

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Which choice has a different result from the expression

not (50 >= 14)

3+8 >= 15 or 5 <= 3

3-4 <= 10 and 3 > 3

14/7 < 1 or not (9 < 4)

3.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Media Image

Give the following variable assignments

Which of the following expressions has the value of False?

(a > 0) or not (b != "Yes")

(a < c**2) and (c > a+d) and not False

False or (c**2 == (d+1)**2)

not (True and c < d and c > b)

None of the above choices is correct.

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the output of the following code fragment?

Step one.

Step two.

Step three.

Step one.

End game.

None of the above choice is correct.

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be displayed on the screen after running the following code fragment?

x

30

True

False

The program contains an error on line 4.

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

What is the output of the following program?

a = 20,

b = 9.32,

c = 2

a = 30,

b = 9.32,

c = 10

a = 30,

b = 9.32,

c = 2

a = 20.68,

b = 9.32,

c = 2

a = 20.68,

b = 2,

c = 2

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What gets printed?

1

2

3

4

ERROR, this code will not run.

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?