Básicos Python

Básicos Python

University

21 Qs

quiz-placeholder

Similar activities

Java 2D Arrays

Java 2D Arrays

University

20 Qs

OPC MCQ's

OPC MCQ's

12th Grade - University

20 Qs

ความรู้พื้นฐาน Python

ความรู้พื้นฐาน Python

10th Grade - University

20 Qs

ABD9 (C++)

ABD9 (C++)

University

19 Qs

Python

Python

University

16 Qs

Java Review

Java Review

9th Grade - University

25 Qs

 variable in python

variable in python

University

20 Qs

Java 2D Array

Java 2D Array

University

20 Qs

Básicos Python

Básicos Python

Assessment

Quiz

Computers

University

Hard

Created by

Ma. Guadalupe Roque

Used 68+ 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?