CS-6207 - Programming Languages with Compiler oed answer key
Showing 21 to 40 of 48 total answers.
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
The _____ keyword is used to send back values from a Python function
Answer
return
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
Which if-else statement will not produce this output?is divisible by 3
Answer
num = 16 if num % 3 = 0: print("is divisible by 3") else: print("is not divisible by 3")
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
If you execute the following expression, what is the output? >>> 3 + 5 * 2
Answer
13
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
If you were developing an application for an iPhone, which IDE would you use?
Answer
XCode
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
When working with the Terminal inside of VSCode, how can you expand the pane?
Answer
Click the up arrow
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
Scanners is sometimes called lexical analyzer or lexers. lexical analyzer lexers
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
The code that's contained inside of a function is often called the function's legs
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
Which of these is NOT a reason why we chose Python as the language for the course?
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
A hand-made scanner its basic approach is to ready one or more characters at a time.
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
To get Python code suggestions, you need to tell VS Code which Python interpreter to use
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
_____, a unique feature of VSCode, allows you to get code suggestions while you're typing
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
Any expression that breaks down to either true or false is called a conditional, or _____
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
Programming can be defined as: converting ideas into _____ that a computer can understand
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
In this function definition, the variable "name" is _____def hello(name): print("Hey,", name)
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
In programming, a crash is when your program stops early or freezes because something unexpected happened
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
What is the output of the following Python code?first_name = "Jeff" #first_name = "Sara" print(first_name)
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
What programming language is this function written in?defcalculate_check(hourly_rate) hourly_rate * 40 end
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
This if-else statement is written in _____if "apples" = "apples" puts "You're comparing the same thing" end
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler