Q8 - FundComp - Python Básico (En)

Q8 - FundComp - Python Básico (En)

University

10 Qs

quiz-placeholder

Similar activities

Python Basisc

Python Basisc

University

12 Qs

CYBER 2

CYBER 2

University

15 Qs

Java Post Hurricane D Check

Java Post Hurricane D Check

University

15 Qs

Desarrolllo Móvil

Desarrolllo Móvil

University

10 Qs

C Classes

C Classes

University

10 Qs

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

Session 2

Session 2

University

10 Qs

Golang Quiz

Golang Quiz

University - Professional Development

7 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?