Algorithms and Flowcharts Study Guide

13 flashcardsby Sg
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
the act of adding to a variable
Increment a variable
2
the act of minusing from a variable
Decrement a variable
3
A form of data storage in which a variable’s value is counted and/or stored
Counter
4
It’s the total sum values of a variable or set of variables
Accumulate values
5
It’s a run through of a set of commands.
Iterate
6
It’s the repeat of a set of commands.
Loop
7
It’s an operator that outputs the remainder of a given calculation.
Modulus operator
8
What are the steps involved in problem solving?
You could write out the code through pseudocode, a flowchart, or both.
9
Except for the START symbol, how many entry points should a symbol in a flowchart have? Explain.
There are no other ones.
10
Except for END, how many exit points can a symbol in a flowchart have? Explain.
There are 2 other exit points that come out of either the end of a decision symbol or one on the bottom and one on the side of a decision symbol.
11
What is the difference between a REPEAT loop and a REPEAT UNTIL loop.
A repeat loop repeats the code inside it for a set number of times while a repeat until loop continues until a certain condition is met.
12
When would you use a REPEAT loop and a REPEAT UNTIL loop?
Repeat loops are used when you know the amount of time you want the code inside the loop to be repeated while a repeat until loop is used when you don't know how many times that code should be repeated.
13
Give the input values for num1 that satisfy this condition:
not num1 < 10
Write an equivalent Boolean expression.
Input values: 10, 11, 12, 13, 14, etc.
num1 > or = 10
Study all 13 cards for free

More Computer science flashcards

NetSPI Interview96 cardsComputer science · EnglishIanSoftware Development: Sociotechnical Systems & Properties75 cardsComputer science · EnglishDiandreiNetworking61 cardsComputer science · EnglishAli_vxxxConceptual Data Modelling51 cardsComputer science · English—Griffith—Python42 cardsComputer science · English—Griffith—CSE 2102 Exam 136 cardsComputer science · EnglishImALegend_ILCMSC13130 cardsComputer science · Englishtdmillington1.1.1 Structure and function of the processor24 cardsComputer science · EnglishSabs2023computer network 19 cardsComputer science · EnglishVishwakWeek 3 - Data Representation14 cardsComputer science · English—Griffith—Section 4: Motherboards (3.0 Hardware)9 cardsComputer science · EnglishKeliaOperating Systems Midterm269 cardsComputer science · EnglishLaylah

All Computer science decks

Study these decks in the app

Free on iPhone, Android, Mac and the web. Add any deck to your account in one tap.

Download on the App StoreGet it on Google Play
Study all 13 cards for free