Comp Sci Test Study Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is an app’s component?

A

The visible and non-visible pieces that make an app work. They are built in.

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

What is an app’s behavior?

A

The events and responses to those events.

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

What are the 5 types of events in app inventor?

A

User- initiated event, Initialization event, Timer event, Animation event, and External event.

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

What is a user-initiated event?

A

An event that is triggered by the user.

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

What is an initialization event?

A

An event that is triggered when the app is launched.

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

What is the event handler block in MIT app inventor?

A

Block that tells the app what to do in case of a specific event.

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

What is a timer event?

A

An event that is triggered by a timer or time passing.

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

What is an animation event?

A

An event that is triggered by things on the screen, such as sprites colliding.

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

Define and provide examples for an event handler

A

This is made up of the event and the app’s response to that event. For example, when the user clicks a button, it plays a sound.

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

Define a visible component.

A

These are parts of the user interface, components that the user can see.

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

What is an external event?

A

An event triggered by an external device.

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

Define non-visible components.

A

Components that the user cannot see.

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

How does an event handler start in app inventor?

A

It begins with a “when do” block.

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

What is an algorithm?

A

A sequence of precise instructions that solve a problem or perform some computation.

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

What is sequence in an algorithm?

A

It is following a precise sequence (order) of actions or instructions.

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

What is repetition in an algorithm?

A

It allows algorithms to be simplified by stating that certain steps will repeat until told otherwise.

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

Provide examples of a visible component.

A

Buttons, boxes, labels, text, etc.

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

What is selection in an algorithm?

A

An algorithm being able to go down different pathways depending on what happens (if/else).

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

Provide examples of a non-visible component.

A

Accelerometer, clock, location sensor, sound, etc.

20
Q

Define a property in MIT app inventor.

A

A property is something you can change about a visible component. You can modify it in the designer view in App Inventor.

21
Q

What does SMS stand for?

A

SMS stands for short message service.

22
Q

What is an algorithm in computer programming?

A

Programs are algorithms written in a programming language to run on the computer.

23
Q

What is an IDE?

A

It allows programmers to edit source code, compile and run the code, and easy debugging.

24
Q

Define event-driven programming.

A

Event-driven programming is when the program reacts to events, mostly triggered by the user.

25
Q

What are the three types of algorithms?

A

Sequence, Repetition, and Selection

26
Q

Give examples of a property in App Inventor.

A

Height, width, or color.

27
Q

What is SMS?

A

It does not include any type of media and basically is text messaging.

28
Q

What type of event would an SMS be?

A

If sending, user-initiated, if receiving, external.

29
Q

What does IDE stand for?

A

Integrated Development Environment

30
Q

Why are IDE’s important for software and application development?

A

They are important because they allow developers to create the app easily, and newer programmers to have that opportunity as well.

31
Q

How is event-driven programming different than traditional programming?

A

Different from traditional programming because it does not perform recipes in a predetermined order (do A, then do B, then do C) like traditional programming. Everything the app performs is based on what events happen.

32
Q

What is a recipe in computer programming?

A

A recipe is a sequence of actions to be performed.

33
Q

What is the viewer panel in app inventor?

A

Inside design view, shows what the final app will look like to users when they open it.

34
Q

What is a function?

A

Something that does something to or with a component

35
Q

What is the User Interface?

A

Generally the visual components of the app, but is the part of the app that the user can interact with.

36
Q

What is blockly programming?

A

Programming that represents code as interlocking blocks; each block contains pieces of code. The programmer doesn’t need to worry about syntax.

37
Q

What is the palette panel?

A

Where you can find the different visible and non-visible components/elements of an app and are grouped by functionality.

38
Q

What does it mean to call a function?

A

Carrying out or making a function happen.

39
Q

What does it mean to invoke a function?

A

Carrying out or making a function happen.

40
Q

What is the components panel?

A

This is a list of the components you’ve chosen and renamed from the palette panel.

41
Q

What is the workspace in app inventor?

A

The part where you drag blocks into and construct it.

42
Q

What is the media panel?

A

Where you can find images, videos, and audio, or upload it. This is the only panel that is found on both designer and block views.

43
Q

What is blocks editor view in app inventor?

A

Where you drag the blocks into the workspace to program the app. Used to determine what the behaviors of the app will be.

44
Q

What is the designer view in app inventor?

A

Where you add and organize your components on the screen.

45
Q

What is a callback function?

A

A type of function in a program that, once defined, can be called at any point in the program simply by name, instead of repeating all the code.