Ovido
Language
  • English
  • Spanish
  • French
  • Portuguese
  • German
  • Italian
  • Dutch
  • Swedish
Text
  • Uppercase

User

  • Log in
  • Create account
  • Upgrade to Premium
Ovido
  • Home
  • Log in
  • Create account

FBLA COMP CPU SCI: Algorithms & ProgrammingConcepts:2:@1

What is an identifier

An identifier refers to a location in memory where the data item will be stored.

Each variable has a data type that defines

1) They type of data that will be stored at the memory location (therefore the operations that can be performed on this data item).

2) How much space will be needed for that data item.

What is the typical amount of memory of a Integer?

2 or 4 bytes.

What is the typical amount of memory of a Real / Float?

4 or 8 bytes.

What is the typical amount of memory of a Char / Character?

1 byte.

What is the typical amount of memory of a String?

1 bytes per character in string.

What is the typical amount of memory of a Boolean?

1 byte.

Declare a variable in pseudocode

Num1 <- 5

Declare a constant in pseudocode

CONST Num1 <- 5

What is initialisation

To set starting values for variables at the beginning of a program.

Where do you declare constants?

At the start of the program.

What are the two main benefits or declaring a constant?

1) When its value changes, you only have to edit it in one place rather than looking for every place in the program where you uses that number.

2) The code will be easier to read and understand because the constant's identifier will be used instead of a number.

Definition of an array

An array is a group of data items of the same data type which is stored under one identifier (name) in contiguous (one after another) memory locations.

What are the benefits of using arrays?

1) Code is easier to follow and therefore easier to debug and maintain.

2) A group of data can be easily processed using a loop.

You can "Do what" to indexes of an array?

1) Assign values to them.

2) Read values into them from the keyboard or a file.


3) Write the values stored in a box to the screen of a file.

Program a "repeat" loop in pseudocode

REPEAT
.

.

.

UNTIL (continue = "N") or (continue = "n")

What is a sequence (construct)?

Sequence is writing the steps down in the order they need to happen.

What is a selection (construct)?

IF...THEN...ELSE allows you to choose between two options. By nesting these or having several in a row you can choose between several options but this is more efficiently achieved by the CASE statement.

What is the first method of a selection (construct)?

Using multiple IF statements.

What is the second method of a selection (construct)?

Using multiple nested IF statements. Only executes the IF statement until it finds one that is true.

What is the third method of a selection (construct)?

Using a CASE statement. Much clearer than the first or second method of a selection (construct).

What is an iteration (construct)?

There are three basic iteration (loop) constructs that you will learn when you program, including FOR, REPEAT and WHILE.

Define a FOR loop

The FOR loop allows you to execute a group of steps 1 or more time, for a specific amount of times.

Define a REPEAT loop

A REPEAT loop is controlled by a condition at the end of the loop. Therefore it will always execute the following steps at least once.

Define a WHILE loop

A WHILE loop is controlled by a condition at the start of the loop. Therefore it will execute the following steps zero or more times.

What will a working algorithm always do?

It will always finish and return an answer or perform the task it was supposed to.

Why is it important to structure a system into manageable modules?

1) Different people can work on different sections at the same time.

2) Some parts may be used several times in a system.


3) Modules can be tested on their own before being put together in the whole system. Makes it easier to debug.


4) A modular system is much easier to understand and maintain later on.

Describe the structure of a structured diagram?

1) The diagram should start with a box at the top that represents the whole program.

2) The whole program can then be broken down into smaller components eg. Getting players name, playing the game in turns etc..


3) Keep on breaking the boxes down into the smallest chunk you can make.

Define a WHILE loop

A WHILE loop is controlled by a condition at the start of the loop. Therefore it will execute the following steps zero or more times.

Quiz
FBLA COMP CPU SCI: Algorithms & ProgrammingConcepts:1:@2
Ecosistema
FBLA COMP CPU SCI: Algorithms & ProgrammingConcepts:1:@1
Franska Ord
FBLA COMP CPU SCI: Networking Concepts & the Internet:1:@8
FBLA COMP CPU SCI: Networking Concepts & the Internet:1:@7
FBLA COMP CPU SCI: Networking Concepts & the Internet:1:@6
FBLA COMP CPU SCI: Networking Concepts & the Internet:1:@5
FBLA COMP CPU SCI: Networking Concepts & the Internet:1:@4
FBLA COMP CPU SCI: Networking Concepts & the Internet:1:@3
FBLA COMP CPU SCI: Networking Concepts & the Internet:1:@2
whitechapel
economie 2
FBLA COMP CPU SCI: Networking Concepts & the Internet:1:@1
economiehsjsj
FBLA COMP CPU SCI: Cyber Security and Impact :1:@4
FBLA COMP CPU SCI: Cyber Security and Impact :1:@3
2
FBLA COMP CPU SCI: Cyber Security and Impact :1:@2
FBLA COMP CPU SCI: Cyber Security and Impact :1:@1
saistību tiesības (Jēdzieni)
Maja
FBLA COMP CPU SCI: Computer literacy and Systems:1:@4
FBLA COMP CPU SCI: Computer literacy and Systems:1:@3
sammenligningsprøve
FBLA COMP CPU SCI: Computer literacy and Systems:1:@2
FBLA COMP CPU SCI: Computer literacy and Systems:1:@1
kardiologi
zäkra jobb
stojamiesiems fizikiniai dydziai
latin vocabulaire p.70
identities and derivatives
filosofia
Mi presento
voc anglais car
Eras GeologíaPrecámbrico, Paleozóico, Mesozóico o Cenozóico?
p 143-144 fransniet zeker of te kennen om examen want op toets niet dus vragen.
Réspiration cellulaire
les 14 synoniemen
Structure d'un gène
Nutriments, vitamines et enzymes
새 단어 7과 3급
Organisk kemi- frågor från målbeskrivning åk 8
spritz
5.1 Olika former av kol åk 8
Lamb to the Slaughter Vicabulary
Unit 8 words
Examen Yael
bio 30 urinary system
halal part2
지역단어
JLPT N5Vocabulario completo N5 (700 aprox)
Fysik/begrepp
histoire chap 3
Parcial Derecho
Frans so
ecology - copy
gaspillage et recyclage - copy
ap
vokeciu
italiano
Wurzeln
Mathe Wurzeln - Kopie
Examen pasen 2025
samhällskunskapkom ihåg orden
enhelska v 13
Test
Mathe Wurzeln
HYPERTHYROIDISM
MS2SIPAGAN MO PLSSS
samengestelde symbolen
5.7 Estrar åk 8
eigenschaften
drinkar alkohol
rm mid 2
drinkar 0%
HALAL part 1
3. kolokvij
tenta sjukdomstillstånd
Notion de tissus
Le cycle cellulaire
maths dérivés 13
A christmas carol Extended
Les gène : transcription et traduction
Les lipides
Les glucides
sprok projekt
Latinčina
science words 2
Genetik
Comp Sci Just study this Ok? Part 3
Comp Sci Just study this Ok? Part 2
Comp Sci Just study this Ok? Part 1
Ipm 2
ans test 2
passe simple
AIS
INTERMEDIATE ACCOUNTING 2
ES
Travelling
Traduce_week_12_2
latin
teste
shywiys
tyska v.13
Structure phrase
economie hoofdstuk 6
latijn examenwoorden moeilijk
EMC-Justice
sagaspurningar
Nw
simple efficace
mot
duits: dativ,akkusativ, nominativ
Funcionament (olimpiades)
ecology
Ethics mid 3
Gaia
Ethics mid 2
새로운 단어 6과 3급
Ethics mid 1
Proffieee
Bulgarian food
IPM - copy
Geschichte
ROSTROS DE LA CULPA
B2
fysik begrepp
Ndls
CIRCUNSTANCIAS DE RESPONSABILIDAD MEDICA
ELEMENTOS CONSTITUTIVOS DE LA RESPONSABILIDAD MEDICA
week 10-acne trts - copy
Controle de musique
مبانی زیبایی شناسی
Englisch
سه بعدی صحنه ای
Type d'entreprises
Directions (BBC Learn English)
stojamiesiems lasteles
Woordenschat duits
Histoire 3U
Clases marzo 2
15.5 Geld en bankwezen
chemistryI have a chem test on atmosphere and atmospheric pollutants
IPM
latin
Unit 9
Unit 8
Unit 7
Unit 6
Ekonomistyrning frågor
Ar Jhay
test 3
test 2
FBLA Intoduction to Technolgy Part 2 Section 2
FBLA Intoduction to Technolgy Part 2 Section 1
FBLA Intoduction to Technolgy Part 1 Section 4
FBLA Intoduction to Technolgy Part 1 Section 3
FBLA Intoduction to Technolgy Part 1 Section 2
FBLA Intoduction to Technolgy Part 1 Section 1
VAE300
Fysik/begrepp
Fysik/frågor
15.4 Handel, dienstverlening en verzekeringen
15.3 Onderneming
15.2 Industrie, ambacht en techniek
15.1 Landbouw, visserij, mijnbouw
chap.10 vocab
French Sentences
انیمیشن ها و سازنده و ژانر
BlankaFrench
Svenska
europe apres le moyenne age
The Story On Job
microbes
microbes biooooo
Poesia trovadoresca
Family (THEORIES)
Family (CHILDHOOD)
vocabulario 4
NP 1 - copie
NP 1 - copy
NP 1 - copie
KLAR- Blodets sjukdomar
KLAR- Respiratoriska sjukdomar
KLAR- Cirkulationsystemets sjukdomar
KLAR Endokrina sjukdomar
KLAR- Rörelseapparatens sjukdomar
KLAR Cellskada sjukdomar
Indigenous People
KLAR Inflammation sjukdomar
KLAR- Nervsystemets sjukdomar
Engels
Julain
Unit 5
masters of recall
sacramenten godsdienstsacramenten godsdienst
ingles tema 1
Born a crime 4
polski
Deutsch
Family (COUPLES)
nyckeltal :(
Digital Communication
شیوه های کاربردی و تزئینی خوشنویسی
trabalho
خوشنویسی در سده های مختلف جدول ص ۲۱۸
ekonomistyrning
Plant disease
Unit 5- Vocanulary
L.J
vocaboulary 3
Juhn Hwahn Bup (Spinning Techniques)
Gahk Doh Bup
german 47
german 46
tema5.1
year code
month code
plu-koder
Microbiologi 7
Microbiologi 6
Management Science
problèmatique
Chapter 6 Review Questions
histoire exam
pr
Spanska verb
begrepp
biologi
glosor marsh
PolitikSoziale Ungerechtigkeit
verbe
so 3/19
Unité 4Nichts
unit 2
int
VOCABULARIO TEMA 15🟣
VOCABULARIO TEMA 14🔴
VOCABULARIO TEMA 13🟡
VOCABULARIO TEMA 11🟤
beco H10 t/m H15
History - copy
la nazificacion de Alemania
CSS 4 Lesson 2
History
PE 3rd q
Religion quiz 4
stats
primer examen
Mikrobiologi 5
Microbiologi 4
정신 단어
gaspillage et recyclage
crime and punishment
stalin