Search Header Logo

PY_1

Authored by Kevin Tinsley

Instructional Technology

University

PY_1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a reason why Python is a good first language for new programmers?

Python has a simple and easy-to-read syntax.

Python is not widely used in the industry.

Python requires complex setup and configuration.

Python is not suitable for beginners.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A console program is typically used for:

Graphical user interface applications

Command-line interface operations

Web development

Mobile app development

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python compiles and runs a program in terms of source code, bytecode, and the virtual machine. Which of the following is the correct order of these processes?

Source code is compiled to bytecode, which is then executed by the virtual machine.

Source code is executed directly by the virtual machine, which then compiles it to bytecode.

Bytecode is compiled to source code, which is then executed by the virtual machine.

The virtual machine compiles source code directly to bytecode, which is then executed.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Main memory and disk storage work together when a program is running by:

Storing all data permanently in main memory.

Using main memory for temporary data storage and disk storage for permanent data.

Running programs directly from disk storage without using main memory.

Using disk storage for temporary data and main memory for permanent data.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Distinguish between systems software and application software.

Systems software manages hardware and runs the computer, while application software performs specific tasks for users.

Application software manages hardware and runs the computer, while systems software performs specific tasks for users.

Both systems software and application software perform the same functions.

Systems software is used for entertainment purposes, while application software is used for business purposes.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Distinguish between testing and debugging.

Testing is the process of identifying defects, while debugging is the process of fixing them.

Testing and debugging are the same processes.

Debugging is done before testing.

Testing is only done after debugging.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Distinguish between syntax errors and runtime errors.

Syntax errors occur during code execution, while runtime errors occur during code compilation.

Syntax errors are detected by the compiler, while runtime errors are detected during program execution.

Syntax errors are logical errors, while runtime errors are syntax errors.

Syntax errors occur due to incorrect logic, while runtime errors occur due to incorrect syntax.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?