PYTHON PROGRAMMING MIDTERM 2025 /2026 – SOLVED CODING QUESTIONS, Exams of Computer Numerical Control

PYTHON PROGRAMMING MIDTERM 2025 /2026 – SOLVED CODING QUESTIONS

Typology: Exams

2025/2026

Available from 10/04/2025

dr-cole-wyat
dr-cole-wyat 🇺🇸

410 documents

1 / 48

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PYTHON PROGRAMMING MIDTERM 2025 /2026
SOLVED CODING QUESTIONS
algorithm - ANSWER✔✔ A set of specific steps for solving a category of problems
token - ANSWER✔✔ basic elements of a language(letters, numbers, symbols)
high-level language - ANSWER✔✔ A programming language like Python that is designed to be
easy for humans to read and write.
low-level langauge - ANSWER✔✔ A programming language that is designed to be easy for a
computer to execute; also called machine language or assembly language
keyword - ANSWER✔✔ define the language's syntax rules and structure, and they cannot be
used as variable names
statement - ANSWER✔✔ instruction that the Python interpreter can execute
operators - ANSWER✔✔ special tokens that represent computations like addition,
multiplication and division
modulus operator - ANSWER✔✔ %, works on integers (and integer expressions) and gives the
remainder when the first number is divided by the second
evaluate - ANSWER✔✔ To simplify an expression by performing the operations in order to
yield a single value.
int - ANSWER✔✔ A Python data type that holds positive and negative whole numbers
float - ANSWER✔✔ A Python data type which stores floating-point numbers. Floating-point
numbers are stored internally in two parts: a base and an exponent. When printed in the
standard format, they look like decimal numbers
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30