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

Coding - PCEP-30-02 Exam Block #1 Questions and Answers 2024

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
27-11-2024
Written in
2024/2025

Coding - PCEP-30-02 Exam Block #1

Institution
PCEP
Course
PCEP








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

Written for

Institution
PCEP
Course
PCEP

Document information

Uploaded on
November 27, 2024
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Coding - PCEP-30-02 Exam Block #1

A process in which the source code is immediately executed without translating it into a
machine code is called: - answer interpretation

Which of the following expressions evaluate to zero?
(select two answers.) - answer1 ** // 3
1 // 3 * 3 ** 0

A syntax is a part of a language definition which describes the rules used to build: -
answer the sentences from a set of words

Please select variable names that are legal in Python. – answer max Value
true5
securityinspectorsuperintendentsecrectagent007
TRUE

Insert the code boxes in the correct positions in order to build a line of code which asks
the user for a float value and assigns it to the price variable.
(Note: some code boxes will not be used.) - answer price = float(input("Enter item
price:"))

Insert the code boxes in the correct positions in order to build a line of code which asks
the user for a string value and assigns it to the password variable.
(Note: some code boxes will not be used.) - answerpassword = input("Enter the
password:")

What is the expected output of the following code?
a=5
#a=a+a
print(a) - answer5

What is the expected output of the following code?
a = 1# + 5
a=a+a
#a = a + 1
print(a) # Line 4 - answer2

Insert the code boxes in the correct positions in order to build a line of code which asks
the user for an integer value and assigns it to the floor variable.
(Note: some code boxes will not be used.) - answerfloor = int(input("Enter floor
number:"))

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.
julianah420 Phoenix University
View profile
Follow You need to be logged in order to follow users or courses
Sold
655
Member since
2 year
Number of followers
324
Documents
33814
Last sold
1 day ago
NURSING,TESTBANKS,ASSIGNMENT,AQA AND ALL REVISION MATERIALS

On this page, you find all documents, package deals, and flashcards offered by seller julianah420

4.3

149 reviews

5
101
4
20
3
8
2
5
1
15

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