• Home
  • Textbooks
  • Computer Science Illuminated
  • Object-Oriented Design and High-Level Programming Languages

Computer Science Illuminated

Dale Nell, Lewis John

Chapter 9

Object-Oriented Design and High-Level Programming Languages - all with Video Answers

Educators


Chapter Questions

01:48

Problem 1

Reviewing a list of possible classes,
looking for duplicates or missing
classes

Manik Pulyani
Manik Pulyani
Numerade Educator
00:50

Problem 2

Asking “what if” questions

Taylor Shimono
Taylor Shimono
Numerade Educator
00:46

Problem 3

Assigning responsibilities to
classes

Aditya Sood
Aditya Sood
Numerade Educator
01:43

Problem 4

Generating a first approximation to
the list of classes in a problem

Bryan Lynn
Bryan Lynn
Numerade Educator
01:16

Problem 5

Assigning collaborators to a responsibility

Emily Himsel
Emily Himsel
Numerade Educator
05:18

Problem 6

Developing algorithms for the responsibilities listed on a CRC card

WZ
Wen Zheng
Numerade Educator
04:37

Problem 7

Output from this phase is a fully developed CRC card for all classes

Ian Kaigh
Ian Kaigh
Numerade Educator
04:28

Problem 8

Output from this phase is the design ready to be translated into a program

Anas Venkitta
Anas Venkitta
Numerade Educator
01:32

Problem 9

During this phase, inheritance relationships are established

SM
Sydney Mastalerz
Numerade Educator
00:52

Problem 10

Phase in which functional programming techniques are appropriate

Ernest Castorena
Ernest Castorena
Numerade Educator
01:05

Problem 11

What translates a high-level language into machine code?

Adam Conner
Adam Conner
Numerade Educator
01:10

Problem 12

What translates a Java program into Bytecode?

Adam Conner
Adam Conner
Numerade Educator
01:10

Problem 13

What executes Bytecode?

Adam Conner
Adam Conner
Numerade Educator
01:07

Problem 14

What translates an assemblylanguage program?

Sanchit Jain
Sanchit Jain
Numerade Educator
01:31

Problem 15

What is the output of an assembler?

Adam Conner
Adam Conner
Numerade Educator
01:10

Problem 16

What takes input in a high-level language and directs the computer to perform the actions specified in each statement?

Adam Conner
Adam Conner
Numerade Educator
01:24

Problem 17

What executes the Java Virtual Machine?

Adam Conner
Adam Conner
Numerade Educator
01:05

Problem 18

What is used to translate a program in ALGOL?

Adam Conner
Adam Conner
Numerade Educator
01:05

Problem 19

What is used to translate a program in APL?

Adam Conner
Adam Conner
Numerade Educator
01:05

Problem 20

What is used to translate a program in COBOL?

Adam Conner
Adam Conner
Numerade Educator
01:05

Problem 21

What is used to translate a program in FORTRAN?

Adam Conner
Adam Conner
Numerade Educator
01:05

Problem 22

What is used to translate a program in Lisp?

Adam Conner
Adam Conner
Numerade Educator
01:18

Problem 23

What is used to translate a program in Prolog?

Clarissa Noh
Clarissa Noh
Numerade Educator
02:02

Problem 24

Which translator runs the most slowly?

Peggy Radtke
Peggy Radtke
Numerade Educator
05:51

Problem 25

Which paradigm most accurately describes FORTRAN?

April Townson
April Townson
Numerade Educator
01:57

Problem 26

Which paradigm most accurately describes $\mathrm{C}++$ ?

Rukhmani Jain
Rukhmani Jain
Numerade Educator
02:10

Problem 27

Which paradigm most accurately describes PASCAL?

Pankaj Jain
Pankaj Jain
Numerade Educator
00:53

Problem 28

Which paradigm most accurately describes Java?

Christopher Stanley
Christopher Stanley
Numerade Educator
02:22

Problem 29

Which paradigm most accurately describes Lisp?

Asma Venkitta
Asma Venkitta
Numerade Educator
01:42

Problem 30

Which paradigm most accurately describes BASIC?

Raghvendra Singh
Raghvendra Singh
Numerade Educator
01:18

Problem 31

Which paradigm most accurately describes Prolog?

Clarissa Noh
Clarissa Noh
Numerade Educator
04:04

Problem 32

Which paradigm most accurately describes SIMULA?

Alexa Moschella
Alexa Moschella
Numerade Educator
00:53

Problem 33

Which paradigm most accurately describes ALGOL?

Christopher Stanley
Christopher Stanley
Numerade Educator
01:04

Problem 34

Which paradigm most accurately describes ML?

Suzanne W.
Suzanne W.
Numerade Educator
00:28

Problem 35

Which paradigm most accurately describes Scheme?

David Collins
David Collins
Numerade Educator
01:38

Problem 36

Which paradigm most accurately describes Python?

Adam Conner
Adam Conner
Numerade Educator
01:23

Problem 37

Which paradigm most accurately describes C?

Narayan Hari
Narayan Hari
Numerade Educator
04:04

Problem 38

Which paradigm most accurately describes Smalltalk?

Alexa Moschella
Alexa Moschella
Numerade Educator
01:56

Problem 39

The dominant languages used in industry throughout the history of computing software come from which paradigm?

Mayank Tripathi
Mayank Tripathi
Numerade Educator
02:47

Problem 40

Which paradigm did Japanese researchers choose for the fifthgeneration computer?

Rabia Shuaib
Rabia Shuaib
Numerade Educator
01:36

Problem 41

Which paradigm allows the programmer to express algorithms as a hierarchy of objects?

Adam Conner
Adam Conner
Numerade Educator
01:36

Problem 42

Which paradigm allows the programmer to express algorithms as a hierarchy of tasks?

Adam Conner
Adam Conner
Numerade Educator
01:36

Problem 43

Which paradigm allows the programmer to express algorithms as mathematical functions?

Adam Conner
Adam Conner
Numerade Educator
00:53

Problem 44

Which paradigm has no assignment statement?

Christopher Stanley
Christopher Stanley
Numerade Educator
00:58

Problem 45

Which paradigm uses recursion exclusively to express repetition?

Linh Vu
Linh Vu
Numerade Educator
01:20

Problem 46

Which paradigm has no variables?

Ethan Fuhrman
Ethan Fuhrman
Numerade Educator
01:31

Problem 47

What is the hallmark of an assembly language?

Adam Conner
Adam Conner
Numerade Educator
01:38

Problem 48

Distinguish between an assembler and a compiler.

Mayank Tripathi
Mayank Tripathi
Numerade Educator
01:38

Problem 49

Distinguish between a compiler and an interpreter.

Mayank Tripathi
Mayank Tripathi
Numerade Educator
01:38

Problem 50

Compare and contrast an assembler, a compiler, and an interpreter.

Mayank Tripathi
Mayank Tripathi
Numerade Educator
01:38

Problem 51

Describe the portability provided by a compiler.

Mayank Tripathi
Mayank Tripathi
Numerade Educator
01:29

Problem 52

Describe the portability provided by the use of Bytecode.

Jennifer Stoner
Jennifer Stoner
Numerade Educator
01:10

Problem 53

Describe the process of compiling and running a Java program.

Adam Conner
Adam Conner
Numerade Educator
00:53

Problem 54

Discuss the word paradigm as it relates to computing.

Prashant Bana
Prashant Bana
Numerade Educator
03:15

Problem 55

Distinguish between imperative and declarative paradigms.

Mayank Tripathi
Mayank Tripathi
Numerade Educator
01:56

Problem 56

What are the characteristics of the imperative paradigm?

AR
Adnan Radwan
Numerade Educator
03:37

Problem 57

What are the characteristics of the functional paradigm?

Dr.  Satish  Ingale
Dr. Satish Ingale
Numerade Educator
01:20

Problem 58

What are the characteristics of the logic paradigm?

Victor Salazar
Victor Salazar
Numerade Educator
04:40

Problem 59

What are the characteristics of a declarative paradigm?

Samuel Goyette
Samuel Goyette
Numerade Educator
02:53

Problem 60

How do you ask questions in a programming language?

Harsh Gadhiya
Harsh Gadhiya
Numerade Educator
01:24

Problem 61

What is a Boolean variable?

Brian Lin
Brian Lin
Numerade Educator
01:10

Problem 62

What is a Boolean expression?

Manik Pulyani
Manik Pulyani
Numerade Educator
02:37

Problem 63

Given variables one, two, and three, write an assertion for each of the following questions.
a. Is one greater than both two and three?
b. Is one greater than two, but less than three?
c. Are all three variables greater than zero?
d. Is one less than two or is one less than three?
e. Is two greater than one and is three less than two?

SL
Steven La
SUNY at Binghamton
01:12

Problem 64

Write the operation table for the Boolean operation AND.

Adriano Chikande
Adriano Chikande
Numerade Educator
01:12

Problem 65

Write the operation table for the Boolean operation OR.

Adriano Chikande
Adriano Chikande
Numerade Educator
01:12

Problem 66

Write the operation table for the Boolean operation NOT.

Adriano Chikande
Adriano Chikande
Numerade Educator
02:34

Problem 67

What is a data type?

Prabhakar Kumar
Prabhakar Kumar
Numerade Educator
01:09

Problem 68

What is strong typing?

Matthew Confer
Matthew Confer
Numerade Educator
01:26

Problem 69

Define the following data types.
a. Integer
b. Real
c. Character
d. Boolean

Ernest Castorena
Ernest Castorena
Numerade Educator
00:15

Problem 70

Is the string data type an atomic data type? Justify your answer.

David Collins
David Collins
Numerade Educator
01:45

Problem 71

If the same symbol is used for both single characters and strings, how can you distinguish between a single character and a one-character string?

Florencia Cuzmar
Florencia Cuzmar
Numerade Educator
02:16

Problem 72

What is a declaration?

Adam Conner
Adam Conner
Numerade Educator
02:34

Problem 73

Fill in the following table, showing the appropriate syntactic marker or reserved word for the language shown based on your observations of the tables in this chapter.

Carlene Jimenez
Carlene Jimenez
Numerade Educator
01:38

Problem 74

How do the .WORD and . BLOCK assembler directives in the Pep/9 assembly language differ from the declarations in high-level languages?

Mayank Tripathi
Mayank Tripathi
Numerade Educator
01:10

Problem 75

Distinguish between instructions to be translated and instructions to the translating program.

Adam Conner
Adam Conner
Numerade Educator
00:30

Problem 76

Consider the following identifiers: Address, ADDRESS, AddRess, Name, NAME, NamE.
a. How many different identifiers are represented if the language is Python?
b. How many different identifiers are represented if the language is VB .NET?
c. How many different identifiers are represented if the language is C++ or Java?

Kyler Gray
Kyler Gray
Numerade Educator
02:45

Problem 77

Distinguish between the definition of an object in the design phase and in the implementation phase.

Theodore Donnell
Theodore Donnell
Numerade Educator
02:45

Problem 78

Distinguish between the definition of a class in the design phase and in the implementation phase.

Theodore Donnell
Theodore Donnell
Numerade Educator
01:43

Problem 79

Distinguish between a field and a method.

Aditya Sood
Aditya Sood
Numerade Educator
01:10

Problem 80

How can objects relate to one another?

Melissa Munoz
Melissa Munoz
Numerade Educator
01:30

Problem 81

Discuss the differences between a top-down design and an objectoriented design.

Jennifer Stoner
Jennifer Stoner
Numerade Educator
01:57

Problem 82

In this chapter, we outlined a strategy for developing an objectoriented decomposition.
a. List the four stages.
b. Outline the characteristics of each stage.
c. What is the output from each of the four stages?
d. Are each of the stages independent? Explain.

FZ
Fathima Zahra
Numerade Educator
02:14

Problem 83

Design the CRC cards for an inventory system for a car dealership, using brainstorming, filtering, and scenarios.

Ameer Said
Ameer Said
Numerade Educator
00:57

Problem 84

Design the CRC cards for a database for a zoo, using brainstorming, filtering, and scenarios.

Lottie Adams
Lottie Adams
Numerade Educator