Which of the following translates and executes instructions in a programming
language?
CST 362 Programming in Python #1
Quiz
•
Education
•
University
•
Easy
Sarju S
Used 2+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following translates and executes instructions in a programming
language?
A compiler
A loader
A text editor
An interpreter
Answer explanation
compiler is not correct because the compiler translates the code into a low level language and does not run(execute)the code.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following outputs data in a Python program?
The input statement
The print statement
The assignment statement
The main function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the set of rules for forming sentences in a language called?
Semantics
Syntax
Pragmatics
Logic
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python3, Whatever you enter as input, the input() function converts it into a string
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?print(3*4+5)
27
17
12
Syntax Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A syntax error means your code has a 'grammar' mistake or you used symbols/operations incorrectly.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What syntax would you use to create a name variable?
name=input()
input=name
name=input{}
name=INPUT
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print("3+4")
7
3+4
34
SyntaxError
10 questions
Java Strings
Quiz
•
1st Grade - Professio...
10 questions
Python Variables
Quiz
•
University
10 questions
Python quiz
Quiz
•
KG - Professional Dev...
8 questions
7th quiz
Quiz
•
7th Grade - University
10 questions
202305 BGMC4513 Quiz 1
Quiz
•
University
10 questions
Linguistic Method
Quiz
•
University
10 questions
Praktisi Mengajar - Java Test
Quiz
•
University
10 questions
Diagnostic Quiz
Quiz
•
University - Professi...
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade