Tarjetas de memoria: Introduction to Computer Programming — 38 tarjetas

Todas las tarjetas

1Pregunta

How long is the lecture time in Unit 1?

Respuesta

Two hours of lecture time.

2Pregunta

Does Unit 1 include any laboratory work?

Respuesta

No, it includes no laboratory work.

3Pregunta

Do students write or compile code in Unit 1?

Respuesta

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

4Pregunta

What is a computer?

Respuesta

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

5Pregunta

What defines a program?

Respuesta

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

6Pregunta

What is an instruction in a program?

Respuesta

One single command inside a program.

7Pregunta

How does a computer obey instructions?

Respuesta

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

8Pregunta

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

Respuesta

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

9Pregunta

Who is responsible for every instruction a computer executes?

Respuesta

The programmer is accountable for every instruction carried out.

10Pregunta

Does programmer responsibility include omitted instructions?

Respuesta

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

11Pregunta

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

Respuesta

Memory, files, devices, and processor sharing.

12Pregunta

What is the purpose of an application program?

Respuesta

To perform a job wanted by the user.

13Pregunta

Give examples of jobs an application program performs.

Respuesta

Writing, browsing, or computing a grade.

14Pregunta

What is an operating system in relation to system programs?

Respuesta

The main system program.

15Pregunta

What resources does an operating system share among programs?

Respuesta

Memory, processor time, and files.

16Pregunta

What digits does the binary number system use?

Respuesta

Digits 0 and 1.

17Pregunta

What is machine language composed of?

Respuesta

Instructions written in binary.

18Pregunta

Which language form can the processor execute directly?

Respuesta

Machine language.

19Pregunta

How do you convert a binary number to decimal?

Respuesta

Add place values of positions containing 1.

20Pregunta

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

Respuesta

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

21Pregunta

What does assembly language use to write machine instructions?

Respuesta

Short command words like LOAD, ADD, and STORE.

22Pregunta

How many machine steps does one assembly language word represent?

Respuesta

One machine step.

23Pregunta

Why is a high-level language written?

Respuesta

For programmer convenience.

24Pregunta

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

Respuesta

Many machine steps.

25Pregunta

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

Respuesta

Binary code.

26Pregunta

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

Respuesta

Short words.

27Pregunta

What type of statements does high-level code use?

Respuesta

Readable statements for several machine steps.

28Pregunta

What does a translator program do?

Respuesta

It converts source code from one language to another.

29Pregunta

When does a compiler translate source code?

Respuesta

Before the program runs, translating the whole source file.

30Pregunta

What output does a compiler produce?

Respuesta

A machine-code file saved on disk.

31Pregunta

How does an interpreter execute source code?

Respuesta

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

32Pregunta

Does an interpreter save a translated file?

Respuesta

No, it does not save a translated file.

33Pregunta

How does compilation differ from interpretation in start time?

Respuesta

Compilation is slower to start than interpretation.

34Pregunta

Which is faster to run: compiled or interpreted code?

Respuesta

Compiled code runs faster than interpreted code.

35Pregunta

When does interpretation find errors compared to compilation?

Respuesta

Interpretation finds errors when the line is reached during execution.

36Pregunta

How do you make an everyday instruction executable?

Respuesta

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

37Pregunta

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

Respuesta

PASSED

38Pregunta

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

Respuesta

FAILED

Ponte a prueba con el cuestionario

Pon a prueba tus conocimientos con 21 preguntas sobre Introduction to Computer Programming.

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

2. What is the scheduled format of Unit 1?

Realiza el cuestionario →

Lee la hoja de repaso

Revisa el curso completo en la hoja de repaso para Introduction to Computer Programming.

Ver hoja de repaso →

Similar courses

Crea tus propias tarjetas de memoria

Importa tu curso y la IA genera tarjetas de memoria en 30 segundos.

Generador de tarjetas de memoria