
CST 362 Programming in Python #1
Authored by Sarju S
Education
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?
Similar Resources on Wayground
10 questions
POP QUIZ OB - CHAPTER 7
Quiz
•
1st Grade - University
13 questions
Healthy and Unhealthy food
Quiz
•
1st Grade - Professio...
10 questions
InTASC Standards and Principles of Learning and Teaching Quiz
Quiz
•
University
10 questions
Teacher Roles
Quiz
•
University - Professi...
8 questions
Factfulness
Quiz
•
University
10 questions
What is water
Quiz
•
KG - Professional Dev...
10 questions
Justifications for Conducting Research Quiz
Quiz
•
11th Grade - University
10 questions
Kuis PSIAP 6 November 2023
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade