Visual Programming

Visual Programming

University

11 Qs

quiz-placeholder

Similar activities

Python foundation

Python foundation

5th Grade - University

10 Qs

[Kelas 8 SMP] Bab 1 - Bahasa Program Java

[Kelas 8 SMP] Bab 1 - Bahasa Program Java

8th Grade - University

10 Qs

quiz - 7(exceptions and file handling)

quiz - 7(exceptions and file handling)

12th Grade - University

9 Qs

C Programming First Quiz - Sec H

C Programming First Quiz - Sec H

University

10 Qs

Python Strings and Variables

Python Strings and Variables

5th Grade - University

8 Qs

ATP-lab viva

ATP-lab viva

University

10 Qs

JAVA FUNDAMENTALS

JAVA FUNDAMENTALS

University

12 Qs

Mastering Python Loops

Mastering Python Loops

University

10 Qs

Visual Programming

Visual Programming

Assessment

Quiz

Other

University

Medium

Created by

Cesar Omar Portillo Moreno

Used 12+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code?


valueOne = 5 ** 2

valueTwo = 5 ** 3


print(valueOne)

print(valueTwo)

10,25

25,125

10,125

10,15

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code?


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

print( i, end=', ')

10, 11, 12, 13, 14

10, 11, 12, 13, 14, 15

15,14,13,12,11,10

14,13,12,11,10

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code?


str = "pynative"

print (str[1:3])

py

yna

pyn

yn

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code?


def calculate (num1, num2=4):

res = num1 * num2

print(res)


calculate(5, 6)

10

20

30

40

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?


p, q, r = 10, 20 ,30

print(p, q, r)

30,20,10

10

1 2 3

10 20 30

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following


x = 36 / 4 * (3 + 2) * 4 + 2

print(x)

117

37

182

128

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the data type of the following


aTuple = (1, 'Jhon', 1+3j)

print(type(aTuple[2:3]))

list

complex

tuple

dictionary

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?