100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

Exam 1 - Programming Logic and Design (CPT 168) Questions and Answers

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
22-03-2025
Written in
2024/2025

Exam 1 - Programming Logic and Design (CPT 168) Questions and Answers

Institution
Programming Logic And Design
Course
Programming Logic and Design








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Programming Logic and Design
Course
Programming Logic and Design

Document information

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

Subjects

Content preview

Exam 1 - Programming Logic and
Design (CPT 168) Questions and
Answers

Which mathematical operator is used to raise 5 to the second power in Python? -
ANSWER-**

The CPU understands instructions written in a binary machine language. -
ANSWER-True

Computer programs typically perform three steps: input is received, some process is
performed on the input, and output is produced. - ANSWER-True

Which computer language uses short words known as mnemonics for writing
programs? - ANSWER-Assembly

The main reason to use secondary storage is to hold data for long periods of time,
even when the power supply to the computer is turned off. - ANSWER-True

IDLE is an alternative method to using a text editor to write, execute, and test a
Python program. - ANSWER-IDLE

What symbol is used to mark the beginning and end of a string? - ANSWER-a quote
mark ('')

The disk drive is a secondary storage device that stores data by ________ encoding
it onto a spinning circular disk. - ANSWER-magnetically

RAM is a volatile memory used for temporary storage while a program is running. -
ANSWER-True

Python allows programmers to break a statement into multiple lines. - ANSWER-
True

A(n) ________ is a diagram that graphically depicts the steps that take place in a
program? - ANSWER-flowchart

To use Python's turtle graphics, you must include which of the following statements
in your program? - ANSWER-import turtle

A ________ has no moving parts and operates faster than a traditional disk drive. -
ANSWER-SSD (solid state drive)

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.
lectknancy Boston University
View profile
Follow You need to be logged in order to follow users or courses
Sold
285
Member since
2 year
Number of followers
28
Documents
26010
Last sold
1 week ago

3.6

57 reviews

5
23
4
10
3
11
2
3
1
10

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

Frequently asked questions