
Quiz de Lógica Computacional
Information Technology (IT)
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das seguintes opções melhor descreve a Máquina de Turing na Teoria da Computação?
Um algoritmo de ordenação eficiente.
Um modelo matemático de computação que manipula símbolos em uma fita de acordo com um conjunto de regras.
Um tipo de estrutura de dados em Python.
Um compilador de linguagens de programação.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das seguintes expressões Python retorna o valor booleano True?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dado o seguinte trecho de código Python, qual será o valor final de x após a execução? ```python x = 2 x *= 3 x += 4 ```
6
8
10
12
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual operador Python é utilizado para calcular o resto da divisão inteira?
//
**
%
/
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que será impresso pelo seguinte código Python? ```python a = 5 b = 3 print(a // b) ```
1.666...
2
1
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo representa corretamente uma estrutura condicional em Python?
if x > 0 then print("Positivo")
if x > 0: print("Positivo")
if (x > 0) { print("Positivo") }
if x > 0 print("Positivo")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
64
512
36
256
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?