Create
Learn
Share

C173 Questions

rename
verickle's version from 2017-06-19 17:02

Introduction to Programming

Question Answer
What is a compiled programming language?
What is an interpreted programming language?
What is the main difference in compiled and interpreted code?
What is an object?
What three things describe an object in object-oriented programming languages?
What is a class?
Why would we create a class?
What is the difference in an object and a class?
What is instantiation?
What is encapsulation?
What is inheritance? How does inheritance apply to working with classes?
What is polymorphism? How does polymorphism apply to working with classes?
How do you define a class in Python?
memorize

Object-Oriented Analysis, Design, and Use Cases

Question Answer
What is UML?
What are the 5 steps in the Object-Oriented Analysis design process?
In which steps of the design process do use case, use case diagrams, and class diagrams take place?
What does a use case provide?
What is the title in a use case?
What is an actor in a use case?
What must be true of entities for them to be considered actors in a use case?
What is a scenario in a use case?
What does a use case diagram provide? What is the purpose of creating a case diagram?
What does a class diagram provide? What is the purpose of creating a class diagram?
memorize

Getting Started with Python

Question Answer
What is an editor?
What is a compiler?
What is an interpreter?
What is an operator and what does it do?
What is an expression?
What is the difference in a terminal and non-terminal expression?
What is proper Python grammar for making an expression?
What is a variable?
What are the three main types of data covered? How do you declare each one?
What is grammar used for in programming? What happens if you don't write code that matches the grammar?
How do you change the value of a variable with Python?
How to do you join multiple variables together with string data in Python? What is this called?
What does it mean to index a string? How do you do that with Python code?
What does it mean to slice a string? How do you do that with Python code?
memorize

Operators and Looping with Python

Question Answer
What does a procedure do?
What is the difference in a procedure and a function?
What is a parameter?
What is the difference in an input, an operand, and a parameter?
What are the advantages of using a function?
When does a function execute?
How do you define outputs for a function?
How is a while loop constructed in Python? What is its purpose?
How are compound mathematical expressions evaluated in Python?
What is the function of parentheses, (), in programming expressions?
What does this expression evaluate to: 5 + 4 * (4 + 4 / 2)
memorize

Boolean Operators

Question Answer
How is an if else statement constructed in Python? What is its purpose?
What is the function of parentheses, (), in programming expressions?
How does the OR operator evaluate two operands?
How does the AND operator evaluate two operands?
memorize

Built-in Objects in Python

Question Answer
How are elements in a list indexed?
What is mutation? Do lists support mutation?
How is a for loop constructed in Python? What is its purpose?
How do you select a sub-sequence of a list with Python?
What does the pop method do to a list in Python?
How would you remove a specific element from a list?
How do you update a list item with Python?
If your Python list contains multiple lists, how do you locate a specific value?
What does the append operator do to a list?
memorize