{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

2.1 Flashcards

(13 cards)

1
Q

Advantages of problem decomposition (2)

A

Making problems easier to solve

Different people can work on different parts of a problem at the same time reducing development time

Program components developed in one program can easily be used in other programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is algorithmic thinking (2)

A

Is a way of getting to a solution by identifying the individual steps needed.

By creating a set of rules, an algorithm is followed precisely leads to an answer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What do you need to think about when performing algorithmic thinking (4)

A
  • Break the problem down
  • Thinking about what data is important
    -What data is not important

-Think about the relevant data structures

-Tackle each part of the problem step by step

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What do you need to consider when creating the input part of a program (3 )

A
  • Anything which needs to be supplied to the program so it can meet its goals

-That it is often input by the user

-Consider an appropriate variable name and data type for the input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What do you need to consider when creating the processing part of a program (2)

A
  • Consider what calculations need to be performed while the program is running

-Does data need to change formats or data types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What do you need to consider when creating the outputting part of a program (2)

A
  • Consider what your program needs to output
  • Consider what form this output needs to take
  • Consider an appropriate variable name and data type for any output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is one method of designing a solution to a problem

A

A structure diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What do structure diagrams illustrate

A

They illustrate problem decomposition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What method is used to create structure diagrams

A

Step-Wise refinement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does a structure diagram do

A

illustrates decomposition of small components into smaller components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Requirements of the lowest nodes of a structure diagram

A

Achieve a single task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Order of how a binary search works (5)

A
  1. Calculate a mid point in the data set

2.Check if that is the item to be found if not.

  1. Check if the item you are looking for is higher or lower than the midpoint
  2. If lower than midpoint remove all higher data from the binary search. Vice versa
  3. Repeat process 1-4
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Order of linear search

A

Identify a search term.
Look at the first item in the list.
Compare the item with the search term.
Is the current item the same as the search term? If so, the item has been found. If not, move to the next item.
Repeat from step two until the last item in the list has been reached.
If the end of the list has been reached and the search term has not been found, then the search term is not in the list and the algorithm can stop.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly