Free Programming in Java and Object-Oriented Design study guide

This free Programming in Java and Object-Oriented Design study guide has 13 topics, 134 flashcards and 67 practice questions, starting with Overview: The Mental Landscape, Programming in the Small I: Names and Things and Programming in the Small II: Control. It suits college students taking an introductory course and is built from the open textbook “Introduction to Programming Using Java, Eighth Edition” by David J. Eck (CC BY-NC-SA 4.0). It is free to use, and the study aids are generated automatically, so check important facts against your own textbook.

Study this course free

What you will study

13 topics, in the order of the textbook. Your own course may order them differently, so follow your syllabus.

Chapter 1: Overview: The Mental Landscape

When you begin a journey, it's a good idea to have a mental map of the terrain you'll be passing through. You'll want to have some idea of what a computer program is and how one is created.

Chapter 2: Programming in the Small I: Names and Things

On a basic level (the level of machine language), a computer can perform only very simple operations. This chapter and the next examine the facilities for programming in the small in the Java programming language.

Chapter 3: Programming in the Small II: Control

The basic building blocks of programs—variables, expressions, assignment statements, and subroutine call statements—were covered in the previous chapter.

Chapter 4: Programming in the Large I: Subroutines

One way to break up a complex program into manageable pieces is to use subroutines. As a computer executes a program, whenever it encounters a subroutine name, it executes all the instructions necessary to carry out the task...

Chapter 5: Programming in the Large II: Objects and Classes

Whereas a subroutine represents a single task, an object can encapsulate both data (in the form of instance variables) and a number of different tasks or "behaviors" related to that data (in the form of instance methods).

Chapter 6: Introduction to GUI Programming

You need to be able to write the methods that respond to events. Events are handled by instance methods contained in objects.

Chapter 7: Arrays, ArrayLists, and Records

Chapter 8: Correctness, Robustness, Efficiency

In previous chapters, we have covered programming fundamentals. A tiny error can cause a program to misbehave or crash.

Chapter 9: Linked Data Structures and Recursion

In this chapter, we look at two advanced programming techniques, recursion and linked data structures, and some of their applications.

Chapter 10: Generic Programming and Collection Classes

Many data structures and algorithms, such as those from Chapter 9, have been studied, programmed, and re-programmed by generations of computer science students.

Chapter 11: Input/Output Streams, Files, and Networking

We have already encountered one other type of input/output, since TextIO can read data from files and write data to files.

Chapter 12: Threads and Multiprocessing

In the classic programming model, there is a single central processing unit that reads instructions from memory and carries them out, one after the other.

Chapter 13: GUI Programming Continued

In many cases, the basic events, components, layouts, and graphics routines covered in that chapter suffice. Some advanced topics, such as support for video and three-dimensional graphics, are not even mentioned.

Try some

Real flashcards and practice questions from this study guide, with their answers.

Flashcard 1

In your own words: what does “instructions” mean?

Answer: Machine language instructions are expressed as binary numbers.

Flashcard 2

In your own words: what does “static” mean?

Answer: A static nested class is part of the static structure of the containing class.

Flashcard 3

In your own words: what does “after” mean?

Answer: What comes after it is some code that draws a rotated string with its basepoint at (0,0).

Practice question 1

Fill in the blank: Machine language _____ are expressed as binary numbers.

  • A. Data structures
  • B. Are
  • C. Instructions
  • D. Any

Answer: C. Instructions

Machine language instructions are expressed as binary numbers.

Practice question 2

Fill in the blank: What comes _____ it is some code that draws a rotated string with its basepoint at (0,0).

  • A. Two
  • B. After
  • C. Reused
  • D. Can

Answer: B. After

What comes after it is some code that draws a rotated string with its basepoint at (0,0).

Study this course free

Prerequisites and next steps

Helpful to know first

What to study next

More in Computer science

Also used for

AP Computer Science A (AP, high school).

About this study pack

Attribution: Adapted from “Introduction to Programming Using Java, Eighth Edition” by David J. Eck (https://math.hws.edu/javanotes/), CC BY-NC-SA 4.0. Study aids (flashcards, quiz questions, summaries) were generated automatically from the text; they may contain errors.

Frequently asked questions

Is the Programming in Java and Object-Oriented Design study guide free?

Yes. StudyGrasp is always free: no paywall and no credit card. Students create a free account so that their progress is saved.

What textbook is the Programming in Java and Object-Oriented Design study guide based on?

It is built from “Introduction to Programming Using Java, Eighth Edition” by David J. Eck, an open textbook licensed under CC BY-NC-SA 4.0. StudyGrasp adapted it and is not affiliated with its authors or publisher.

How many practice questions does it have?

It has 67 practice questions and 134 flashcards across 13 topics. They are generated automatically from the textbook and marked Draft, so they can contain mistakes.

Can I use it offline or install it?

You can add StudyGrasp to your phone or computer. The app opens offline, and flashcards you have opened keep working without a connection. Offline copies are cleared when you sign out.

Study Programming in Java and Object-Oriented Design free

Ask questions that cite the textbook, practise with flashcards and quizzes, and keep your own notes private. Study this course free

StudyGrasp is not affiliated with the textbook publishers named here. Browse all courses · FAQ