Q8 - FundComp - Python Básico (En)

Q8 - FundComp - Python Básico (En)

University

10 Qs

quiz-placeholder

Similar activities

Quiz 1: The background and history of IoT

Quiz 1: The background and history of IoT

University

10 Qs

Artificial intelligence in research

Artificial intelligence in research

University

15 Qs

HISTORIA CLÍNICA

HISTORIA CLÍNICA

University

11 Qs

Organology Part 1 - Pre Test

Organology Part 1 - Pre Test

University

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

STS Prelim Quiz1 BIT 1-B

STS Prelim Quiz1 BIT 1-B

University

10 Qs

Technology and Humanity Quiz 1

Technology and Humanity Quiz 1

University

10 Qs

Radiation Hazards and Control

Radiation Hazards and Control

12th Grade - University

10 Qs

Q8 - FundComp - Python Básico (En)

Q8 - FundComp - Python Básico (En)

Assessment

Quiz

Science, Computers

University

Practice Problem

Medium

CCSS
6.EE.B.6

Standards-aligned

Created by

Mario Sucerquia

Used 20+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be from the following code?
print("Hello world!\nHello world!")

Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax?

Syntax is the word used to describe an error
Syntax is the rules of the programming language
It is used to read information
It is used to output information 

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code do? myAge = int (myAge)

Converts the var (variable) myAge to a string

Converts the var (variable) myAge to a integer

Converts the var (variable) myAge from a integer to a string

Converts the var (variable) myAge to if statement

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax can you use to insert a line break between strings so that they appear over multiple lines?

/
\n
\l
n

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print(3*4+5)

27
17
12
SyntaxError

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How do you write the following equation in Python?

y=x2+7x/2

y=(x2+7x)/2

y=x*2+7*x/2

E) y=(x*x+7*x)/2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following Python program?

A=5

B=2

print(A/B+A%B)

4.5

3

3.5

2.5

Access all questions and much more by creating a free account

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?

Discover more resources for Science