1) What is Procedural Abstraction? a) Defining the steps of a program without worrying about exactly how each step works under the hood b) Defining the individual lines of the program step by step c) Abstraction of Top-Down Design 2) How does low-level abstraction differ from high-level abstraction? a) Low-level abstraction includes less details, while high-level abstraction includes more details. b) Low-level abstraction includes more pseudo code, while high-level abstraction includes less pseudo code. c) High-level abstraction includes more pseudo code, while low-level abstraction includes less pseudo code. d) High-level abstraction includes less details, while low-level abstraction includes more details. 3) Is this an example of low level or high level abstraction?: “I brushed my teeth.” a) Low Level b) High Level 4) Is this an example of low level or high level abstraction?: “First, I took the cap off the bottle, Then, I turned on the water . . .” a) Low Level b) High Level 5) What is API? a) Application Programming Interface b) Apt Pathway Integrator 6) What is abstraction? a) Using comments to explain what your program does b) Managing complexity by hiding information and detail 7) What does abstraction help us achieve in a program? a) To make all of the complex details appear simpler b) To make all of the simple details look more complex 8) Why is API important in programming? a) You can choose what the programmer’s interface looks like and provide relevant details while abstracting away the implementation details b) APIs don’t exist in programming. They are a type of graphics card. c) An API provides explanations of how default functions work in code. d) It forces programmers to write more code causing more explicitness. 9) Is this a high level or low level abstraction?: def turn_right(): turn_left() turn_left() turn_left() turn_right() a) Low Level b) High Level 10) How might a programmer abstract something while still allowing the user to know how it works? a) Documentation or source code snippets b) A programmer should not do this as it goes against the ideas of abstraction c) Email the programmer asking for help

Abstraction Group Project PC

szerző:

Ranglista

Vizuális stílus

Beállítások

Kapcsoló sablon

Automatikus mentés visszaállítása :?