Programming 2- module 9) Flashcards

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

What is input/output and file handling?

A

Technical way of describing what happens in most programs: some data is input, something happens to it, and the result is output.

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

What is an example of input/output and file handling?

A

Student name entered (input)-> Saved onto a file called THISFORM (file handling) -> print onto a register list for fire drill (output).

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

What is an example of a process?

A

Opening a file: if you are to access the contents, rather like using clothes in a suitcase, you need to open it. In most cases, you need to identify how you plan to use it once it is open.

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

What would opening a file look like?

A

Work= Open(ClassList.csv, r)

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

What does .csv stand for?

A

Comma Separated Values.

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

What does .txt stand for?

A

‘Text’ files that have no formatting and are easily opened in a word processing program.

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

What are files stored as .csv files often?

A

Files in this format are often arrays that will easily import into a spreadsheet or database program.

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