Karteikarten: Introduction to Computer Programming — 38 Karten

Alle Karten

1Frage

How long is the lecture time in Unit 1?

Antwort

Two hours of lecture time.

2Frage

Does Unit 1 include any laboratory work?

Antwort

No, it includes no laboratory work.

3Frage

Do students write or compile code in Unit 1?

Antwort

No, students write and compile no code in Unit 1.

4Frage

What is a computer?

Antwort

A machine that stores data and executes instructions exactly as given.

5Frage

What defines a program?

Antwort

A complete set of instructions telling a computer how to perform one job.

6Frage

What is an instruction in a program?

Antwort

One single command inside a program.

7Frage

How does a computer obey instructions?

Antwort

It obeys literally, in order, unless told to jump, and never guesses.

8Frage

What does a computer never do when an instruction is unclear?

Antwort

It never guesses when an instruction has no single definite meaning.

9Frage

Who is responsible for every instruction a computer executes?

Antwort

The programmer is accountable for every instruction carried out.

10Frage

Does programmer responsibility include omitted instructions?

Antwort

Yes, it includes instructions omitted or failing to handle a case.

11Frage

What does a system program manage to keep the computer working?

Antwort

Memory, files, devices, and processor sharing.

12Frage

What is the purpose of an application program?

Antwort

To perform a job wanted by the user.

13Frage

Give examples of jobs an application program performs.

Antwort

Writing, browsing, or computing a grade.

14Frage

What is an operating system in relation to system programs?

Antwort

The main system program.

15Frage

What resources does an operating system share among programs?

Antwort

Memory, processor time, and files.

16Frage

What digits does the binary number system use?

Antwort

Digits 0 and 1.

17Frage

What is machine language composed of?

Antwort

Instructions written in binary.

18Frage

Which language form can the processor execute directly?

Antwort

Machine language.

19Frage

How do you convert a binary number to decimal?

Antwort

Add place values of positions containing 1.

20Frage

What are the place values in binary from right to left?

Antwort

1, 2, 4, 8, 16, 32, and so on.

21Frage

What does assembly language use to write machine instructions?

Antwort

Short command words like LOAD, ADD, and STORE.

22Frage

How many machine steps does one assembly language word represent?

Antwort

One machine step.

23Frage

Why is a high-level language written?

Antwort

For programmer convenience.

24Frage

How many machine steps does one high-level language line represent?

Antwort

Many machine steps.

25Frage

What form is machine-level code in for the processor?

Antwort

Binary code.

26Frage

What does assembly-level code use for each machine step?

Antwort

Short words.

27Frage

What type of statements does high-level code use?

Antwort

Readable statements for several machine steps.

28Frage

What does a translator program do?

Antwort

It converts source code from one language to another.

29Frage

When does a compiler translate source code?

Antwort

Before the program runs, translating the whole source file.

30Frage

What output does a compiler produce?

Antwort

A machine-code file saved on disk.

31Frage

How does an interpreter execute source code?

Antwort

It translates and runs one instruction at a time during execution.

32Frage

Does an interpreter save a translated file?

Antwort

No, it does not save a translated file.

33Frage

How does compilation differ from interpretation in start time?

Antwort

Compilation is slower to start than interpretation.

34Frage

Which is faster to run: compiled or interpreted code?

Antwort

Compiled code runs faster than interpreted code.

35Frage

When does interpretation find errors compared to compilation?

Antwort

Interpretation finds errors when the line is reached during execution.

36Frage

How do you make an everyday instruction executable?

Antwort

Replace every vague judgment with an exact condition and specify the exact output.

37Frage

What exact output should be displayed if the grade is 75 or more?

Antwort

PASSED

38Frage

What exact output should be displayed if the grade is less than 75?

Antwort

FAILED

Teste dich mit dem Quiz

Teste dein Wissen mit 21 Fragen zu Introduction to Computer Programming.

1. What does Unit 1 require students to do with code?

2. What is the scheduled format of Unit 1?

Quiz machen →

Lernzettel lesen

Überprüfe den vollständigen Kurs im Lernzettel zu Introduction to Computer Programming.

Lernzettel ansehen →

Similar courses

Erstelle deine eigenen Karteikarten

Importiere deinen Kurs und die KI erstellt in 30 Sekunden Karteikarten.

Karteikarten-Generator