Section 1

Preview this deck

Assembly Language

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (21)

Section 1

(21 cards)

Assembly Language

Front

low level language similar to machine code but uses a simple translation program "assembler" to translate to machine code

Back

Things to know about identifiers

Front

1. It can be any length 2.It has to start with a letter, underscore, or $....not a digit 3.It can't be a reserve word 4.Can't be true,false or null

Back

Augmented Assignment Operators

Front

+= or -= or /= allows you to combine assignment and addition operators. ex count=count +1 is count+=1 and they are performed after all the operators ex x/= 4 + 5.5 1.5 is same as x = x (4+5.51.5)

Back

what is the syntax for Assignment statements?

Front

variable = expression ex: x = 1 radius = 1.0

Back

T or F: if variables are of the same type can they be declared together?

Front

T. datatype variable1, variable2, .....variableN

Back

T or F: A bit is a char?

Front

F- A bit is a digit aka binary digits and 8 bits make a byte

Back

T or F : Bytes hold 8 digits?

Front

True- each of which is either 0 or 1 (on or off)

Back

Increment and Decrement Operators

Front

++ and — increment(+) or decrement(-) a variable by 1 depending on where they are placed. ex: int i = 3, j=3 i++ becomes 4 j— becomes 2 another ex is int i= 10 int newNum = 10 * i++ so i is 11 & newNum is 100

Back

T or F: A program written in high-level language is called a source code

Front

True

Back

High level languages

Front

they are compiled or interpreted into low level machine language.

Back

identifiers

Front

names of things that appear in a program. Its a sequence of characters that consists of digits, underscores, letters, or dollar signs ex: number1 number 2

Back

Variable

Front

This is a symbol that a program needs to declare, it represents a value stored in the computers memory. Use descriptive names! Their value can change. ex: int count double radius doubleinterestRate

Back

Common secondary storage devices

Front

Hard Drive Floppy Drive CD RW Drive CD Rom DVD RAM Drive Compact flash card

Back

Difference between interpreted & compiled?

Front

Interpreted-these languages are executed immediately after parsing compiled-these languages are typically edited in a text editor and compiled and run separately

Back

"+" means what?

Front

has two meanings: addition & concatenating(combining)

Back

Java programs can be of two types

Front

Applications Applets

Back

Secondary storage devices

Front

They are capable of storing information for longer periods of time ( non-volatile)

Back

Data types

Front

this is the kinda of data stored in a variable ex: Int Real (#'s with a decimal point) use double Boolean

Back

How do you declare a variable?

Front

You declare it by telling the compiler its name as well as what type of data it can store. the syntax is : datatype variableName

Back

Constants

Front

a permanent data that never changes aka final variable. It has to be declared and initialized in the same statement the syntax > datatypeCONSTANTNAME = value ; ex: finaldoubleRADIUS = 2.7

Back

Main Memory

Front

it's a long list of numbered(addressed) locations known as bytes

Back