100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Python Institute Entry Level $10.99   Add to cart

Exam (elaborations)

Python Institute Entry Level

 8 views  0 purchase
  • Course
  • Python Institute Entry Level
  • Institution
  • Python Institute Entry Level

What is CPython? - answer-It's the default, reference implementation of Python, written in the C language What do you call a file containing a program written in a high-level programming language? - answer-A source file What is the expected behavior of the following program? print("Hello!")...

[Show more]

Preview 2 out of 15  pages

  • August 14, 2024
  • 15
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • Python Institute Entry Level
  • Python Institute Entry Level
avatar-seller
TOPDOCTOR
PYTHON INSTITUTE ENTRY LEVEL
What is CPython? - answer-It's the default, reference implementation of Python, written in the C
language

What do you call a file containing a program written in a high-level programming language? - answer-A
source file

What is the expected behavior of the following program?
print("Hello!") - answer-The program will output: Hello!
to the screen

What is machine code? - answer-A low-level programming language consisting of binary digits/bits that
the computer reads and understands

What are the four fundamental elements that make a language? - answer-An alphabet, a lexis,
phonetics, and semantics

What is true about compilation? - answer-- It tends to be faster than interpretation
- The code is converted directly into machine code executable

What is the best definition of a script? - answer-It's a text file that contains instructions which make up a
Python program

What is the expected behavior of the following program?
prin("Goodbye!") - answer-The program will generate an error message on the screen

Select the true statements:
- Python it free, open-source, and multiplatform
- Python 3 is backwards compatible with Python 2
- Python is a good choice for creating and executing tests for applications
- Python is a good choice for low-level programming, e.g., when you want to implement an effective
driver - answer-- Python it free, open-source, and multiplatform
- Python is a good choice for creating and executing tests for applications

What do you call a command-line interpreter which lets you interact with your OS and execute Python
commands and scripts? - answer-A console

Python is an example of: - answer-High-level programming language

A complete set of known commands is called: - answer-an instruction list

What is a source code? - answer-A program written in a high-level programming language

What do you call a computer program which directly executes instructions written in a programming
language? - answer-An interpreter

, What Python version is covered in this course? - answer-Python 3

What is CPython (Quiz)? - answer-The default implementation of the Python programming language

What is IDLE? - answer-An acronym that stands for Integrated Development and Learning Environment
for Python

What do you call a tool that lets you launch your code step-by-step and inspect it at each moment of
execution? - answer-A debugger

How did Python, the programming language, get its name? - answer-Guido van Rossum named it to
honor Monty Python's Flying Circus, a BBC comedy series popular in the 1970s

Which one of the following is an example of a Python file extension? - answer-py

The escape character owes its name to the fact that it: - answer-changes the meaning of the character
next to it

The meaning of the positional parameter is determined by its: - answer-position

The most important difference between integer and floating-point numbers lies in the fact that: -
answer-they are stored differently in the computer memory

The 0x prefix means that the number after it is denoted as - answer-a hexadecimal

The // operator - answer-performs integer division

The result of the following addition:
123 + 0.0 - answer-is equal to 123.0

Only one of the following statements is true:
- addition precedes multiplication
- multiplication precedes addition
- neither statement can be evaluated - answer-multiplication precedes addition

Right-sided binding means that the following expression:
1 ** 2 ** 3
will be evaluated: - answer-from right to left

A keyword is a word that (select two):
- is the most important word in the whole program
- cannot be used a as a variable name
- cannot be used as a function name - answer-- cannot be used a as a variable name
- cannot be used as a function name

A value returned by the input() function is: - answer-a string

Which of the following variable names are illegal? (select two)

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller TOPDOCTOR. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75632 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.99
  • (0)
  Add to cart