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
Exam (elaborations)

CS8202 -Principles of Computer Engineering Exam Anna University

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
22-04-2025
Written in
2024/2025

CS8202 -Principles of Computer Engineering Exam

Institution
Computer Engineering
Course
Computer engineering

Content preview

CS8202 -Principles of Computer Engineering Exam


Computer programs are referred to as ___. - (ANSWER)Software



A ___ is any person who runs a program. - (ANSWER)User



A sequence of instructions is called a(n) ___. - (ANSWER)Program

#$%^&*()_)
The mechanical and electrical devices of a computer are referred to as ___. - (*&^
(ANSWER)Hardware



The remainder of an integer division is accomplished using the ____________ operator. -
(ANSWER)%



In Python, variable names may consist of ____________. - (ANSWER)All of the above

(Underscores, digits, letters)



Grammatical and punctuation errors are called ____________. - (ANSWER)syntax errors



Integer division is accomplished using the ____________ operator. - (ANSWER)//



Evaluate the following statements:



num = 4



num **=2 - (ANSWER)16



If the value of n is 3.14159, the function round(n) will return ____________. - (ANSWER)3

, CS8202 -Principles of Computer Engineering Exam


Which function returns the single-character string of the character with ASCII value n for
nonnegative numbers? - (ANSWER)chr(n)



When an if-elif-else statement is evaluated, which block of statements is evaluated? -
(ANSWER)the first condition satisfied



When an if-else statement contains other if-else statements, it is said to be ____________. -
#$%^&*()_)
(ANSWER)nested (*&^



When comparing two lists of different lengths, if all items pairs match up to the end of the
shorter sequence, which sequence is said to be the lesser of the two? - (ANSWER)the
shorter sequence



An if-elif-else statement can contain ____________ clauses. - (ANSWER)any number of



When an if-else statement needs to allow for more than two possible alternatives, you use
a(n) ____________ clause. - (ANSWER)elif



What Python loop repeatedly executes a block of statements as long as a certain condition
is met? - (ANSWER)While



The parentheses of the range function can contain ____________ values. - (ANSWER)all of
the above

(one, two, or three)



Each execution of the body of a loop is called a(n) ____________. - (ANSWER)pass



The ____________ statement causes an exit from anywhere in the body of a loop. -
(ANSWER)break

Written for

Institution
Computer engineering
Course
Computer engineering

Document information

Uploaded on
April 22, 2025
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$15.49
Get access to the full document:

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

Get to know the seller

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.
QuickFixer Self
Follow You need to be logged in order to follow users or courses
Sold
2071
Member since
2 year
Number of followers
7
Documents
1210
Last sold
1 week ago

3.6

18 reviews

5
6
4
3
3
6
2
1
1
2

Recently viewed by you

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