Q8 - FundComp - Python Básico (En)

Q8 - FundComp - Python Básico (En)

University

10 Qs

quiz-placeholder

Similar activities

Python-1st

Python-1st

University

10 Qs

JavaScript basics

JavaScript basics

8th Grade - University

15 Qs

GDSC

GDSC

University

10 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

KODEKIDDO HACK #MLH3

KODEKIDDO HACK #MLH3

4th Grade - University

10 Qs

python basics

python basics

11th Grade - University

15 Qs

Session 2 Quiz

Session 2 Quiz

University

10 Qs

PYTHON BOOTCAMP

PYTHON BOOTCAMP

University

15 Qs

Q8 - FundComp - Python Básico (En)

Q8 - FundComp - Python Básico (En)

Assessment

Quiz

Science, Computers

University

Medium

CCSS
6.EE.B.6

Standards-aligned

Created by

Mario Sucerquia

Used 20+ times

FREE Resource

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

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?