AIB_2Q

Quiz
•
Computers
•
12th Grade
•
Hard
Mário José
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
X = 8
x = __________ (x)
Para converter x num número decimal, tenho que colocar no espaço em branco:
int
str
float
bool
2.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
X = 8.8
x = __________ (x)
Para converter x num número inteiro, tenho que colocar no espaço em branco:
int
str
float
bool
3.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
x = 8
y = 9
x = 10
print(x)
O seguinte print irá apresentar o seguinte valor:
10
8
erro!
9
4.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
Para introduzir dados utilizador, escrevo:
print()
input()
insert()
Nenhuma das anteriores
5.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
Qual o resultado (output) do seguinte código, caso o utilizador inserir 10:
idade = input("Insere a tua idade")
print( "Tens" + idade + "anos")
Tens 10 anos
Erro
Tens10anos
Nenhuma das anteriores
6.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
Qual o resultado (output) do seguinte código, caso o utilizador inserir 10:
idade = int(input("Insere a tua idade"))
print( "Tens" + idade + "anos")
Tens 10 anos
Erro
Tens10anos
Nenhuma das anteriores
7.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
num = int(input("Insere um número"))
print( "O teu número é " + idade)
Como resolvias o erro do código em cima:
print( "O teu número é " + str(idade))
Não tem erro!
print( "O teu número é " + str(num))
print( "O teu número é " + num)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Control Python Bàsic.

Quiz
•
12th Grade
20 questions
Python String

Quiz
•
12th Grade
18 questions
Kiểu dữ liệu xâu kí tự trong Python

Quiz
•
10th Grade - University
21 questions
Python - Práctica 2

Quiz
•
12th Grade
20 questions
TEST1.PY

Quiz
•
10th Grade - University
15 questions
CodeHS - Intro to Python - Conditionals Quiz

Quiz
•
9th Grade - Professio...
15 questions
Atividade Etherchannel

Quiz
•
12th Grade
17 questions
Operators in Python

Quiz
•
9th Grade - Professio...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade