Básicos Python

Básicos Python

University

21 Qs

quiz-placeholder

Similar activities

CodeHS - Intro to Python - Basics and Console Interaction

CodeHS - Intro to Python - Basics and Console Interaction

9th Grade - Professional Development

20 Qs

2D Array and Strings in C

2D Array and Strings in C

University

16 Qs

ITSU FP 2

ITSU FP 2

University

20 Qs

Frame and Label

Frame and Label

University

16 Qs

Lógica de Programação

Lógica de Programação

University

16 Qs

Test Conocimientos previos Programación (JAVA)

Test Conocimientos previos Programación (JAVA)

University

17 Qs

Java Programming

Java Programming

University

20 Qs

Fundamentos de Python

Fundamentos de Python

University

16 Qs

Básicos Python

Básicos Python

Assessment

Quiz

Computers

University

Hard

Created by

Ma. Guadalupe Roque

Used 67+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

a = int('34') ¿qué valor tiene la variable a?

34

'34'

34.0

'34.0'

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

a = float('34') ¿qué valor tiene la variable a?

34

'34'

34.0

'34.0'

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

b = int(12.5) ¿Qué valor tendrá b?

12.5

12

error

12.0

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

b = float(12.5) ¿Qué valor tendrá b?

12.5

12

Error

12.0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

c = int('99.9') ¿Qué valor tendrá c?

99

99.0

ValueError: invalid literal for int( ) with base 10: '99.9'

'99'

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

d = float('9. 9') ¿Qué valor tendrá d ?

99

99.0

'99'

ValueError: could not convert string to float: '9. 9'

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

c = float('99.9') ¿Qué valor tendrá c ?

99

99.9

Error

'99'

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?