Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

CNIT 155 MAIN EXAMINATION 2026 SET QUESTIONS AND SOLUTIONS RATED

Document preview thumbnail
Preview 2 out of 7 pages

CNIT 155 MAIN EXAMINATION 2026 SET QUESTIONS AND SOLUTIONS RATED

Content preview

CNIT 155 MAIN EXAMINATION 2026 SET QUESTIONS AND
SOLUTIONS RATED A+
✔✔What is the data in a program? - ✔✔Data value, data types, data name, data
conversion

✔✔What is Data Value? - ✔✔A value is one of the fundamental things, like a word or a
number, that a program manipulates

✔✔What is Data Type? - ✔✔Data values can be classified into different classes

✔✔These are examples of numerical data types - ✔✔Integers, Floating point numbers,
complex numbers

✔✔These are examples of textual data types - ✔✔String

✔✔These are examples of boolean data types - ✔✔Bool (True/False)

✔✔What is a Variable? - ✔✔A place holder in computer's RAM

✔✔T or F: Any inputted data is going to be considered as a String data (Regardless of
what the user inputted). - ✔✔True

✔✔What is a Statement? - ✔✔An instruction that the Python interpreter can execute

✔✔What is a Expression? - ✔✔A combination of values, variables, operators, and calls
to functions

✔✔What is Operators? - ✔✔Special tokens that represent computations like addition,
multiplication, and division

✔✔What is Operands? - ✔✔The values the operator works on

✔✔Addition operator - ✔✔+ (2 + 5 = 7)

✔✔Subtraction operator - ✔✔- (2 - 5 = -3)

✔✔Multiplication operator - ✔✔* (2 * 5 = 10)

✔✔Division operator - ✔✔/ ( = 0.4)

✔✔Modulus operator - ✔✔% (2 % 5 = 2)

, ✔✔Exponent operator - ✔✔** (2 ** 4 = 16)

✔✔Floor Division operator - ✔✔// (9 // 2 = 4)

✔✔T or F: Arithmetic operators are binary operators. - ✔✔True

✔✔In the expression (17 * 9), the operator is: - ✔✔*

✔✔In the expression (17 * 9), the operant is: - ✔✔17 and 9

✔✔T or F: The Precedence Rules state that anything inside the ( ) gets evaluated first. -
✔✔True

✔✔What is Built-in functions? - ✔✔They are part of Python language, and there is no
need for the programmer to import any library to use them

✔✔What is Library functions? - ✔✔These are inside a special library, such as the Math
library, Random library, graphics library, etc

✔✔What is User-defined functions? - ✔✔Functions created and defined by the user

✔✔You can use the math library by typing: - ✔✔import math

✔✔What are Bugs? - ✔✔Programming errors

✔✔What is Debugging? - ✔✔The process of tracking down bugs and correcting them

✔✔What is Syntax Errors? - ✔✔Result from errors in code construction, such as
mistyping a keyword, omitting a necessary colon, or using a wrong indentation.

The program does not run. You have to fix this before rerunning the program.

✔✔What is Logical Errors? - ✔✔Occur when a program provides you with actual
outputs that are different from the desired outputs.

The program runs but it gives wrong results.

✔✔What is Run-Time Errors? - ✔✔Occur while an application is running where Python
interpreter detects an operation that is impossible to complete.

The program runs, but it does not complete. The program crashes in the middle of
running.

✔✔Who is the inventor of Boolean Algebra? - ✔✔George Boole

Document information

Uploaded on
April 16, 2026
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BOARDWALK
3.5
(40)
Sold
276
Followers
8
Items
32861
Last sold
6 days ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions