Preview

Lecture: Object-oriented Programming and A. Variable B.

Satisfactory Essays
Open Document
Open Document
4265 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Lecture: Object-oriented Programming and A. Variable B.
COMPRO1 Lecture Pointers
Review Questions
1. The most basic circuitry-level computer language, which consists of on and off switches, is _____________.
b. machine language

2. Languages that let you use a vocabulary of descriptive terms, such as “read,” “write,” or “add,” are known as _____________ languages.
a. high-level

3. The rules of a programming language constitute its _____________.
a. objects

4. A _____________ translates high-level language statements into machine code.
c. compiler

5. Computer memory locations are called _____________.
b. variables

6. The individual operations used in a computer program are often grouped into logical units called _____________.
a. procedures

7. Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of _____________.
c. object-oriented programming

8. The values of an object’s attributes also are known as its _____________.
b. orientations

9. An instance of a class is a(n) _____________.
a. object

10. Java is architecturally _____________.
c. neutral

11. You must compile classes written in Java into _____________.
a. bytecode

12. All Java programming statements must end with a _____________.
c. semicolon

13. Arguments to methods always appear within _____________.
a. parentheses

14. In a Java program, you must use _____________ to separate classes, objects, and methods.
c. dots

15. All Java programs must have a method named _____________.
b. main()

16. Nonexecuting program statements that provide documentation are called _____________.
c. comments

17. Java supports three types of comments: _____________, _____________, and javadoc.
a. line, block

18. After you write and save a Java application file, you _____________ it.
d. compile and then interpret

19. The command to execute a compiled Java application is _____________.
d. java

20. You save text files containing Java source code using the file extension _____________.
a. .java

Review

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Unit 5 Essay

    • 437 Words
    • 2 Pages

    CPU – Register, ALU, control unit - The CPU is a type of processor which acts as the brains of a computer and is an important part of any computer.…

    • 437 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    DSC 340 Midterm

    • 1391 Words
    • 6 Pages

    computer program or collection of programs-set of instructions that tell the hardware what to do…

    • 1391 Words
    • 6 Pages
    Better Essays
  • Satisfactory Essays

    This week learning assignment is based on Unit 8 Chapter 6 reading of the textbook about the elements of a computing system that focus on the selections relevant for supporting programs with symbols.…

    • 288 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Unit 8 Study Guide

    • 546 Words
    • 3 Pages

    13. Writing a program in a language such as C++ or Java is known as _____ the program.…

    • 546 Words
    • 3 Pages
    Powerful Essays
  • Good Essays

    | organized collections of computer data and instructions, its often broken into two major categories, system software and Application software…

    • 429 Words
    • 2 Pages
    Good Essays
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    What both translates and executes the instructions in a high level language program? What was the first programming language designed to perform complex math functions? Interpreter.Fortran…

    • 738 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Intro the Programming

    • 386 Words
    • 5 Pages

    In general terms, a program that is broken into smaller units of code, such as methods, is known as a(n) _______.…

    • 386 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    graded assignments

    • 6001 Words
    • 35 Pages

    This document includes all of the assignment requirements for the graded assignments in this course. Your instructor will provide the details about when each assignment is due.…

    • 6001 Words
    • 35 Pages
    Powerful Essays
  • Good Essays

    To apply the stored-program concept, central processing unit (CPUs) are designed to recognize instructions encoded as bit patterns. This collection of instructions along with the encoding system is called the machine language. An instruction expressed in this language is called a machine-level instruction or, more commonly, a machine instruction.…

    • 458 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    The Object-Oriented Question

    • 4233 Words
    • 17 Pages

    Lefkowitz, S. (1980), Pathological verbalizations of process and reactive schizophrenics as a function of object- and ego-oriented questions and interviewer 's style. PhD dissertation.…

    • 4233 Words
    • 17 Pages
    Powerful Essays
  • Satisfactory Essays

    Copyright © 2012 Pearson Education, Inc. 0-5 Terminology • Machine instruction: An instruction (or command) encoded as a bit pattern d) d d tt recognizable by the CPU • Machine language: The set of all instructions recognized by a machine Copyright © 2012 Pearson Education, Inc. 0-6 3 Machine Language Philosophies • Reduced Instruction Set Computing (RISC) – Few, simple, efficient, and fast instructions – Examples: PowerPC from Apple/IBM/Motorola and ARM • Complex Instruction Set Computing (CISC) –…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Object Oriented Design

    • 263 Words
    • 2 Pages

    The object oriented design to be used CD and DVD media collection system to identify the information about the media. You will need some general information to make the system work correctly.…

    • 263 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Object Oriented Processes

    • 400 Words
    • 2 Pages

    Therefore the car will start. Then when the car is started, the driver sends another message by shifting the gear so that when the driver places the foot on the accelerator, it therefore, sends another message to the engine how the idle will be. How much RPM’s will run so that the car will begin to accelerate given the selection of gear the driver has placed it in. These are messages sent back and forth.…

    • 400 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Programming fundamentals

    • 299 Words
    • 2 Pages

    Note. This assignment is cumulative and the information and results will be used in the following weeks.…

    • 299 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Build A Computer

    • 1781 Words
    • 8 Pages

    So switches too small and too many for person standing front of computer to flip switches. Now computers told what to do or "programmed" by holes in paper tapes or cards. Then by magnetic bits on magnetic tapes, and then on magnetic disks. Also, too many "on/off" for person to understand, so people write programming languages like "Assembly" to make easier to create computer instructions or programs. Then write program called "Assembler" to take "Assembly" instructions and turn it back into the "on/off" instructions that computer…

    • 1781 Words
    • 8 Pages
    Good Essays

Related Topics