Init Me 3.1-1

Init Me 3.1-1

University

13 Qs

quiz-placeholder

Similar activities

Typing

Typing

KG - University

12 Qs

IP-Com3 - Clase 2

IP-Com3 - Clase 2

University

12 Qs

Functional Programming

Functional Programming

University

13 Qs

Kuis #2 Microcontroller

Kuis #2 Microcontroller

University

10 Qs

CHUONG 1 TIN 11 (21-37)

CHUONG 1 TIN 11 (21-37)

12th Grade - University

17 Qs

Recursion

Recursion

University

8 Qs

Dinamikus tömbök

Dinamikus tömbök

University

8 Qs

C programming

C programming

University

15 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?