X = 8
x = __________ (x)
Para converter x num número decimal, tenho que colocar no espaço em branco:
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)
15 questions
Java Script Quiz
Quiz
•
9th - 12th Grade
16 questions
Python Basics
Quiz
•
KG - University
18 questions
Kiểu dữ liệu xâu kí tự trong Python
Quiz
•
10th Grade - University
16 questions
Python есептер 1
Quiz
•
9th - 12th Grade
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops
Quiz
•
9th Grade - University
21 questions
Python - Práctica 2
Quiz
•
12th Grade
21 questions
AIB_1Q
Quiz
•
12th Grade
20 questions
Python String
Quiz
•
12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University