Python Training

Python Training

Professional Development

•

22 Qs

quiz-placeholder

Similar activities

AWS SAA - Aquecimento

AWS SAA - Aquecimento

Professional Development

•

20 Qs

Level 2 Digital Technologies

Level 2 Digital Technologies

8th Grade - Professional Development

•

18 Qs

Lección1 - JavaScript

Lección1 - JavaScript

1st Grade - Professional Development

•

17 Qs

Simulacro de examen final - Diciembre 2023

Simulacro de examen final - Diciembre 2023

Professional Development

•

20 Qs

OS Ch8_2

OS Ch8_2

12th Grade - Professional Development

•

17 Qs

RAS QUIZ

RAS QUIZ

Professional Development

•

20 Qs

Jadi Programmer | Kampung Koding

Jadi Programmer | Kampung Koding

10th Grade - Professional Development

•

20 Qs

unit test i sem jamia

unit test i sem jamia

Professional Development

•

20 Qs

Python Training

Python Training

Assessment

Quiz

•

Computers

•

Professional Development

•

Practice Problem

•

Hard

Created by

sara souna

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the output be if you run the code below?

25

30

25

25

This would give you an error because x already has a value when we de x = 30

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not a valid Python variable name?

myVariable

my_variable

_var

1st_variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why would you write a variable name in all uppercase (all capital letters) in Python?

There's no reason to ever do this in Python. It's the wrong style.

To signal that you don't intend for this variable's value to change.

When defining important values that will be used throughout the entire code.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the output be (i.e. what would the user see) from this code sample?

The user would see nothing.

6

This would result in an error, because you can't use underscores in variable names.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the value of div  be at the end of this segment?

4

3.5

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image


What would the value of x be at the end of this code segment?

7.5

7

8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the user see after running this code segment?

Hello, Jose

'Hello, Jose'

"Hello, Jose"

The user would see nothing, or there would be an error.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?