Python: Quiz 1.03 - Code Structure and Workings

Python: Quiz 1.03 - Code Structure and Workings

Professional Development

11 Qs

quiz-placeholder

Similar activities

Day 1 PHP

Day 1 PHP

Professional Development

15 Qs

ICT 04 - Day 1 Quiz

ICT 04 - Day 1 Quiz

Professional Development

12 Qs

Zendesk Dev

Zendesk Dev

Professional Development

12 Qs

Java Fundamentals

Java Fundamentals

Professional Development

11 Qs

02 - Python - Introduction & Installation

02 - Python - Introduction & Installation

University - Professional Development

10 Qs

Exercise No 1-Intro to Java

Exercise No 1-Intro to Java

Professional Development

10 Qs

2022 ITEC 102 - Short Quiz 1

2022 ITEC 102 - Short Quiz 1

University - Professional Development

10 Qs

Python101

Python101

1st Grade - Professional Development

10 Qs

Python: Quiz 1.03 - Code Structure and Workings

Python: Quiz 1.03 - Code Structure and Workings

Assessment

Quiz

Computers

Professional Development

Medium

Created by

J.P. Franke

Used 17+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

High-level code is usually translated to machine code by which 2 programs?

Compilers and Interpreters

Compilers and Translators

Translators and Constructors

Constructors and Interpretors

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Python is which kind of Language?

Interpreted Language

Compiled Language

Low-level Language

Dialect of Mandarin

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How does a Compiler work?

Takes in a whole Source Code file and compiles it into an executable file

Reads a source code from top-to-bottom, line by line

Transforms the 1's and 0's of binary code into a high-level, human-readable language

All of these Options are correct

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How does an Interpreter work?

Takes in a whole Source Code file and compiles it into an executable file

Reads a source code from top-to-bottom, line by line

Transforms the 1's and 0's of binary code into a high-level, human-readable language

All of these Options are correct

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A "bug" in coding means...

An error in code, resulting in unwanted behavior

An insect that got stuck in the hardware, causing damage

An error in the language that cannot be fixed by the programmer

Nothing. We do not use the word "bug" in coding

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

When you find an error in code, what do we call the process of finding and fixing the error?

Debugging

Error Fixing

Troubleshooting

Fine-tuning

7.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

What is a good way to avoid bugs while writing code? (Pick all that apply)

Test your code regularly as you write

Copy open-source code from experienced developers

Write your full script, then run it and see what happens

Practice

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?