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
20 questions
BÀI 10. HOÀN THIỆN BẢNG TÍNH

Quiz
•
6th Grade - University
20 questions
Python - 1

Quiz
•
12th Grade
15 questions
Iteration

Quiz
•
9th - 12th Grade
15 questions
Pętla for i while

Quiz
•
9th - 12th Grade
15 questions
Python Lists

Quiz
•
10th - 12th Grade
15 questions
Python

Quiz
•
6th Grade - University
17 questions
Project Stem Python Unit 1 Test Review

Quiz
•
9th - 12th Grade
20 questions
Python Quiz (part 1)

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade