Unit 1 Flashcards

1
Q

Simple steps of CPU

A

Fetch, Decode, and Execute.

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

Two types of memory

A

Hard drives and Random Access Memory

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

What type of storage is Ram?

A

Short term

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

What type of storage is hard drives and disks?

A

Long term

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

Ram is permanently stored

A

False

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

What are some examples of removable storage media? Does this type of media lose its memory when removed or swapped?

A

USB sticks and removable hard drives; No

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

What are some other formats of Input and output?

A

IO and I/O

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

Input and output are relatively separate

A

True

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

There are multiple different types of IO

A

True

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

What is an OS?

A

is a special system program that manages the software and hardware of a computer, tablet, or smartphone.

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

Do handheld gaming consoles have their own os?

A

Yes

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

OS needs to be suitable for the hardware it is running on(For example, a 15-year-old laptop may be capable of running an operating system like Windows XP, but it would struggle to start up a brand new version of Windows 10)

A

True

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

An operating system is simply a backdrop to any further software that a machine uses

A

True

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

Main tasks of an OS:

A

Provides and Interface

Manages Memory

Manages the CPU

Maintains the file system

Provides Basic Security

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

For mobile apps, there is no large computer, or full-size CPU to process information

A

True( software must be coded on lower specs)

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

Touchscreen controls are easy to interact with

A

True

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

What are web browsers?

A

It is software specifically designed to let you view and interact with online content

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

How do web browsers communicate across the Internet?

A

They use rules called protocols

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

What is an example of a protocol?

A

HTTP or hypertext transfer protocols(the foundation of data communication in the world wide web)

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

All browsers perform the same basic functions

A

True

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

What is the difference between Microsoft word and a plain text editor?

A

Microsoft word is used to edit, format, and style pieces of text, while a plain text editor can also type and edit text, there is no styling like fonts, and there aren’t preformatted options like footnotes and headings.

22
Q

What are some uses of different text editors?

A

Some are shipped with an OS to allow users to edit configuration files or can be embedded online to make them useful for web development

23
Q

Text Editors are always individual pieces of software

A

False

24
Q

Essentially, what are compilers?

A

Translators

25
Q

When a compiler is run…

A

you will see it taking text from the editor and running through each line as it changes into something useful that a machine can execute

26
Q

Instructions in programming will often be written as a high-level programming language

A

True

27
Q

In order for a computer to follow the instructions, the instructions need to be translated to

A

Machine Code(This is the job of the compiler)

28
Q

Linkers are similar to compilers

A

True

29
Q

. Once a compiler has created a set of executable instructions, a linker will chain them together and combine them into a single executable file

A

True

30
Q

Linkers are treated as afterthoughts

A

True

31
Q

What is a loader?

A

a loader is a slightly different kind of linker(both are advanced tools) that takes a single instruction provided by a compiler and turns it into an executable file.

32
Q

What do APIs contain?

A

Subroutines, communication protocols, and software building tools that allow for complex pieces of code

33
Q

APIs don’t come with disadvantages

A

True

34
Q

This means that a suitable API can really make developing software easier, while choosing an unsuitable one can drag things out and make them unnecessarily complicated.

A

True

35
Q

What are examples of popular APIs?

A

Skyscanner Flight Search, Open Weather Map, API-Football, and Yahoo Finance

36
Q

There is no overlap between APIs and Libraries. Neither provides helpful resources.

A

False

37
Q

Where an API may contain a ready-made set of security protocols that help keep a piece of software safe, a good library may contain help data or message templates that help the programmer create their own protocols.

A

True

38
Q

What is an application of a library?

A

A library can be a shortcut to insert definitions or functions

39
Q

There are hundreds, maybe thousands of APIs and libraries.

A

True

40
Q

Once a programmer has written a code, it is important to make sure it’s error free and will run properly when compiled

A

True

41
Q

What does a debugger do?

A

To put it simply, a debugger tests your program by simulating it from start to finish in order to see if it can work. It won’t catch all errors, but it’s a key tool for developers. It uses instruction-set simulators

42
Q

If it fails the test, basic error codes may be provided

A

True

43
Q

What will debuggers sometimes do?

A

Sometimes it will simply stop running at a certain point though, and it will be up to the programmer to figure out why things went wrong.

44
Q

On what line are errors and problems identified?

A

the line in code in which the problem occurs

45
Q

A good idea is to generate and simulate a bunch of tests, where you can set the parameters and define events or actions that might happen

A

True

46
Q

What does a test generator do?

A

These utilities will look at the source code and language used and, from this, generate numerous tests that will go through all of the available functionality and generate simulated inputs.

47
Q

Test generators don’t run faster than human testers

A

False

48
Q

Test generators don’t require additional resources, so they are cost effective

A

True

49
Q

What does a code analyzer do?

A

A code analyzer takes an in-depth look at the code and employs wider-reaching analysis to look at the structure of the program as a whole. A good code analyzer is the difference between a script that runs and one that is clean and likely to run wherever it’s implemented. It will review source code and look for known, common errors that are important to find and fix. Code analyzers will also look at the programming context and, with all of this information, make assessments and reports on not just the functionality but also the security of the code.

50
Q

What does the output of a code analyzer look like?

A

it is usually presented in the form of easily understandable, yet detailed graphs or tables.

51
Q

It can be used to pick apart and fix individual problems, as well as make a more robust application all-round.

A

True