Programming Midterm

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

1/31

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.

32 Terms

1
New cards

What are the three things to write in your for-loops

knowt flashcard image
2
New cards

How to decide what loop to do

knowt flashcard image
3
New cards

What is a byte

8 bitsis

<p>8 bitsis </p>
4
New cards

Give example of highlevel lanauge and low level

knowt flashcard image
5
New cards

flow

knowt flashcard image
6
New cards

What is special about Secondary storag

7
New cards

Q6. Which of the following identifiers in Java is NOT a valid one?

knowt flashcard image
8
New cards

What is ram divided up into

bytes (1 byte is 8 bits

9
New cards

What is the cpus function

fetch / decode / execute

<p>fetch / decode / execute</p>
10
New cards

what is machine lanague

is zeros and ones (instructions wrirrten in binary that he cpu excutes)

<p>is zeros and ones (instructions wrirrten in binary that he cpu excutes)</p>
11
New cards

What is assembly language

knowt flashcard image
12
New cards

why was seembly language made

to make programming easier

13
New cards

draw a 3 way flow with

assmebler
binary code
program writting

knowt flashcard image
14
New cards

Draw the Program Development Process (6 diff boxes - 2 diff file endings)

knowt flashcard image
15
New cards

What is JRE

It includes JVM

<p>It includes JVM</p>
16
New cards

5 step program devlop process

knowt flashcard image
17
New cards

What do methods have and what do classes have

Classes are upper case

methods have a return sequecnce: ()

18
New cards

What are the 7 escape equencess

knowt flashcard image
19
New cards

What is the only variable that has to have a upper case when initeiallizeing it

String

20
New cards

What rules may the identifiers contain

knowt flashcard image
21
New cards

What is a identifiyer

knowt flashcard image
22
New cards

What are the 8 primiative data type, and what is a primivative data type

That mean you don’t need to get them from a Class

<p>That mean you don’t need to get them from a Class</p>
23
New cards

How much bytes do each of the numeric data types take

(there are 6 numeric data types)

Think of baby sharks swimming from small lakes (small numbers) to deep oceans (big numbers):

  • Baby → byte

  • Sharks → short

  • In → int

  • Lakes → long

  • Float → float

  • Deep → double

<p>Think of baby sharks swimming from small lakes (small numbers) to deep oceans (big numbers):</p><ul><li><p>Baby → <strong>byte</strong></p></li><li><p>Sharks → <strong>short</strong></p></li><li><p>In → <strong>int</strong></p></li><li><p>Lakes → <strong>long</strong></p></li><li><p>Float → <strong>float</strong></p></li><li><p>Deep → <strong>double</strong></p></li></ul><p></p>
24
New cards

What are the 4 interger data types

knowt flashcard image
25
New cards

What are the floating-point data types

knowt flashcard image
26
New cards

True of false is

“\n” a char data type

yea

<p>yea</p>
27
New cards

how to do a range of numbers like 16-24

this one does 5-15

<p>this one does 5-15</p>
28
New cards

How to do number of loops

knowt flashcard image
29
New cards

What does continue do

  • 👉 “Skip everything else in this loop and go to the next iteration.”

30
New cards
31
New cards
32
New cards