Init Me 3.1-1

Init Me 3.1-1

University

13 Qs

quiz-placeholder

Similar activities

TECHNICAL C JIT03

TECHNICAL C JIT03

University

15 Qs

ARRAYLIST - JAVA

ARRAYLIST - JAVA

University

15 Qs

Intro Quiz

Intro Quiz

University

10 Qs

C programming

C programming

University

15 Qs

Operators in C

Operators in C

University

12 Qs

Quiz 2: C++ Basics

Quiz 2: C++ Basics

University

11 Qs

ANALYSIS OF ALGORITHMS

ANALYSIS OF ALGORITHMS

University

15 Qs

Web Technology

Web Technology

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?