Python-set

Python-set

University

10 Qs

quiz-placeholder

Similar activities

Prueba diagnostica Programacion Competitiva

Prueba diagnostica Programacion Competitiva

University

6 Qs

Flujogramas - CACM

Flujogramas - CACM

University

11 Qs

Negocios Juridicos

Negocios Juridicos

University

10 Qs

Aplikasi Basis Data Mobile

Aplikasi Basis Data Mobile

University

10 Qs

Lettre de motivation

Lettre de motivation

1st Grade - Professional Development

10 Qs

ZS3 quiz

ZS3 quiz

University

10 Qs

Étapes d'un Projet

Étapes d'un Projet

12th Grade - University

10 Qs

Python - Numpy Quiz 1

Python - Numpy Quiz 1

University - Professional Development

5 Qs

Python-set

Python-set

Assessment

Quiz

Professional Development

University

Hard

Created by

jency joseph

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

What will be the Output of the Code

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which ways can you use for an HTML file?

.hml

.html

.tml

.htm

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

TAB=

1 space

2 spaces

3 spaces

4 spaces

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

18. What will be the output of this?

A=np.array([5,4,3,2,1])

B=np.array([4,8,9,10,1])

np.setdiff1d(a,b)

Array([2,3,5])

Array([8,9,10])

Syntax error

Array([4,1])

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

valueOne = 5 ** 2

valueTwo = 5 ** 3

print(valueOne)

print(valueTwo)

10 15

25 125

Error: invalid syntax

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements create a dictionary?

a) d = {}

b) d = {“john”:40, “peter”:45}

c) d = {40:”john”, 45:”peter”}

d) All of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The program above prints the sum of

all odd numbers less than 100

all even numbers less than 100

all numbers less than 100

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?