Qual será a saída do seguinte código?
print(“Hello world!”)
Pytyhon Intro 1
Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
GUILHERME PEREIRA CAMPOS
Used 2+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do seguinte código?
print(“Hello world!”)
Erro de Sintaxe
“Hello world!”
Hello world!
Print (Hello world!)
Answer explanation
A saída correta será 'Hello world!' porque o código imprime exatamente essa string.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A maneira correta de escrever uma variável em Python?
myVariable = 10
my Variable = 10
myVariable is 10
myVariable: 10
Answer explanation
A maneira correta de escrever uma variável em Python é 'myVariable = 10', pois segue a sintaxe correta de atribuição de valor a uma variável.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do seguinte código?
print(Hello world!)
Hello world!
Erro de Sintaxe
Hello world
print(Hello world!)
Answer explanation
A saída será 'Erro de Sintaxe' porque a string 'Hello world!' não está entre aspas, resultando em um erro de sintaxe ao tentar imprimir.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que esta função faz?
input()
Abre a bandeja do CD.
Pede ao usuário para digitar algo.
Exibe a palavra 'input'.
Encerra o programa.
Answer explanation
Pede ao usuário para digitar algo.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que é uma variável?
Um número como 25.
Mais, menos, multiplicar, dividir ou igual.
Um array de texto.
Um local de armazenamento no programa que armazena um valor.
Answer explanation
Uma variável é um local de armazenamento no programa que armazena um valor.
9 questions
Condition Programming Quiz
Quiz
•
1st Grade - University
6 questions
Exploring Web Design Quiz
Quiz
•
9th - 12th Grade
10 questions
高二資訊課補考題目
Quiz
•
11th Grade - University
10 questions
Quizzi bài 29 Tin học 10
Quiz
•
10th Grade - University
10 questions
Continue операторы
Quiz
•
9th - 12th Grade
9 questions
Kiến thức về hàm print() trong Python
Quiz
•
2nd Grade - University
10 questions
Quiz de Programação em C
Quiz
•
9th - 12th Grade
8 questions
Intro to JS: Variables & Values
Quiz
•
11th Grade - University
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