Java An Introduction to Problem Solving and Programming Chapter 1.1 (SELF-TEST QUESTIONS)

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

What are the two kinds of memory in a computer?

Main memory and Auxiliary memory

2
New cards

What is software?

Software is a program with a set of computer instructions.

3
New cards

What data would you give to a program that computes the sum of two numbers?

Really depends, with Java you will give it a java code to compile as for bytecode that is already ready to be used can use the bytecode to of 0's and 1's to compile the sum of two numbers.
Thus giving it two numbers would really depend on the type of coding your doing.

4
New cards

What data would you give to a program that computes the average of all the quizzes you have taken in a course?

All of the quizzes that you have done.

5
New cards

What is the difference between a program written in a high-level language, a program in machine language, and a program expressed in Java bytecode?

• program written in high-level code:
- high level code needs to a Interpreter to translate the high-level code to low-level code.

• Machine language:
- Machine language consists of 0's and 1's.

• Java bytecode:
- Java bytecode needs to be compiled by the JVM to be able to work with low-level code.
- The same Java code can be used on other devices as long as the other device can compile the Java code.

6
New cards

Is Java a high-level language or a low-level language?

High-Level language.

7
New cards

Is Java bytecode a high-level language or a low-level language?

Low-Level language

8
New cards

What is a compiler?

The compiler is a interpreter that that translate the high-level code of Java into low-level code for the machine to read/understand.

9
New cards

What is a source program?

A high level program that is a input for the compiler.

10
New cards

What do you call a program that translates Java bytecode into machine language instructions?

The compiler.

Explore top flashcards

spanish
Updated 997d ago
flashcards Flashcards (32)
ap psych terms
Updated 894d ago
flashcards Flashcards (527)
Muscle anatomy
Updated 671d ago
flashcards Flashcards (26)
Enfoques - C1
Updated 748d ago
flashcards Flashcards (64)
Madrid Quiz 2
Updated 129d ago
flashcards Flashcards (112)
spanish
Updated 997d ago
flashcards Flashcards (32)
ap psych terms
Updated 894d ago
flashcards Flashcards (527)
Muscle anatomy
Updated 671d ago
flashcards Flashcards (26)
Enfoques - C1
Updated 748d ago
flashcards Flashcards (64)
Madrid Quiz 2
Updated 129d ago
flashcards Flashcards (112)