• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/21

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

21 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)

Explain Bytecode

Bytecode is a type of low level language, like machine code, that can be easily stored in a few bytes of memory. Hence why it’s called “Bytecode”

Low level language

Explain run command

A run command is an input command that is put in a computer program to execute code or another program

Input command

What are the two kinds of memory in a computer?

The two kinds are: RAM (random access memory or also known as main memory) and auxiliary memory or secondary memory (also known as a hard drive)

RAM/ Hard Drive

Name and explain the main components that make up a computer.

CPU (central processing unit/ processor) - this is the device inside the computer that follows a program’s instructions.


Memory (RAM and main memory) - RAM stores volatile information (disappears when you shut the computer down without saving) and main memory stores more permanent information


Logic board - basically the brain of your computer

3 main components listed here

Define binary code

Binary code is machine language and is written with 1 and 0

How much is a byte?

It is eight bits

What is another name for directory?

Files

How is a computer’s main memory divided? Explain

It is divided into numbered units are bytes. Each byte can hold up to eight bits. If the information is too big to store on one byte, the computer will use several adjacent bytes and those bytes are considered as a single larger memory location whose address is the first of the adjacent bytes

What is an address?

Computer memory has a long list of numbered bytes and the address is simply the number of that byte. So say you have a list of ten bytes and you want information from byte number 3, then 3 is the byte address of where that information is stored.

What is an operating system?

An operating system is a program that oversees the entire operation of the computer. So examples are MAC OSX or WINDOWS, LINUX, etc

There are a lot of different types

Explain the difference between high and low level languages.


Give examples of each.

High level language is like human language where the interpretation is high. Python, C++ or Ruby are all examples of high level languages


Low level language is machine language like binary or assembly language.

What is a compiler? What is the difference between a compiler and an interpreter?

Compilers and interpreters translates high level language to low level language so the computer can process the code.


The difference is that a compiler will translate the whole entire code before running it while a interpreter will translate some of it and then run it and then translate some more and then run.


Hence, a compiler is faster than an interpreter.

What is a source code? And is it system dependent?

A source code is the input code, so the original code that you wrote. It is not system dependent, however, after you compile it, it will turn into object code. Object code is system dependent.

What is object code?

Object code is the code that has been translated from the source code

What is Bytecode?

Bytecode is a type of code that has been translated from a source code. It was translated for a hypothetical computer known as a virtual machine. So it is not system dependent.

What is software?

Software is just another word for program. So the operating system is a collection of programs.

What is a class?

A class is a piece of the overall code or program

What is a class loader?

A class loader connects all the classes together into a program. Also known as a linker

What is syntax?

Syntax is the grammar rules for a programming language

What is a method?

A method is an action that is performed for an object. Ie: System.out.println (“Hello”);


println is the method in this case.

What is an object?

An object is a command given to the program to execute something. Ie: System.out.println (“Hello”)


System.out is the command in this case.