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
Similar Resources on Wayground
11 questions
Fair Value

Quiz
•
University
12 questions
JAVA FUNDAMENTALS

Quiz
•
University
13 questions
Books

Quiz
•
University
10 questions
Unit1: Introducing Second Language Acquisition

Quiz
•
University
11 questions
Stephen Krashen's "Input Hypothesis"

Quiz
•
University
13 questions
DIFFERENTIATION OF DIGITAL PRINTING

Quiz
•
University
10 questions
Basic Python

Quiz
•
10th Grade - University
9 questions
5SNLTW1

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University