Codecademy: Code Foundations Flashcards

1
Q

___________ is the mental process of thinking up instructions to give to a machine (like a computer)

A

programming

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

___________ is the process of transforming ideas into a written language that a computer can understand

A

coding

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

A __________________ is a way of saving a piece of information with a specific name.

Rather than writing out a piece of data every time we need it, we write it out once and the computer remembers it and can repeat that information back.

A

variable

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

Using a value without assigning it to a variable

A

hardcoding

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

When you specify the type and name of a variable to be used in an application, you are ____ a variable.

A

declaring

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

In computing, __________ is the pieces of information that we use to build programs, like the numbers in a calculation, or the text printed to a screen.

A

data

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

_________________ are the most basic data types, so basic that you can find them in pretty much every programming language. They include numbers, strings and booleans.

A

primitives

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

A data type that can be used to describe, calculate and count something.

A

numbers

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

___________ are any sequence of characters (letters, spaces, numbers, or symbols). While almost anything can be a ___________, they are typically used to represent text or speech. Similar to how we represent speech in writing, we surround ____________ with single (‘…’) or double quotes (“…”).

A

strings

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

A single value of either TRUE or FALSE

A

boolean

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

Different symbols that represent an operation, such as the plus sign as a symbol for addition.

A

operators

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

They include addition (+), subtraction (-), multiplication (*), and division (/)

A

arithmetic operators

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

<, >, ==

A

comparison operators

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

A _______________ is a named sequence of instructions, packaged as a unit, that performs a specific task.

A

function

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

A name for parts of a function which accept input values, like (topping1, topping2) in the example:

function makeSandwich (topping1, topping2)

A

parameters

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

The values that the programmer provides in the function call, like (ham, cheese) in the example:

function makeSandwich (ham, cheese)

A

arguments

17
Q

When we ___________ a function, we specify the instructions, inputs, and name of the function.

A

define

18
Q

When we _______ a function, all of its instructions are executed.

A

call

19
Q

The order in which a program executes its instructions.

A

control flow

20
Q

Programmers use ______________ in their code to tell a computer which instructions (or in which order) to execute.

A

control structures

21
Q

A control structure is _____________ if its instructions depend on some condition(s).

A

conditional

22
Q

_________ are a type of data structure. They are used to contain multiple pieces of information that relate to each other in a specific, linear sequence.

A

lists

23
Q

The position of value in a list is known as its ____________. This has a numerical value, with the first item in the list being 0.

A

index

24
Q

When we add things to the end of an existing list, we say that we’re _____________ them to the end.

A

appending

25
Q

Data structures that tell a computer to repeat specific instructions.

A

loops

26
Q

A language for web development that structures website content.

A

HTML

27
Q

A language for web development that applies styling to websites.

A

CSS

28
Q

A language for web development that adds interactivity to websites.

A

Javascript

29
Q

A website for web development that allows your web application to store and retrieve data

A

SQL

30
Q

An _____________ in HTML provides additional information about an HTML element. It comes in a name and value pair with the structure name=”value”. For example, you can specify the width of an HTML element with the _____________ width=”500”.

A

attribute

31
Q

The _______ attribute allows us to specify the URL, or address on the web, that a link should take users to.

A

href

(hyperlink reference)

32
Q

In CSS, these specify the HTML elements to which the style should be applied.

A

selectors

33
Q

In CSS, these specify how certain HTML elements should be displayed.

A

visual rules