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

WEEK 1 :: CRASH COURSE PYTHON ::GRADED ASSESSMENT completed 100%

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
26-08-2022
Written in
2022/2023

What is a computer program? A step-by-step recipe of what needs to be done to complete a task, that gets executed by the computer (Being able to write such programs is a super useful skill that you'll acquire through this course.) What's automation? The process of replacing a manual step with one that happens automatically. 00:03 00:56 Which of the following tasks are good candidates for automation? Check all that apply. Creating a report on how much each sales person has sold in the last month. Setting a home directory and access permissions for new employees joining your company Populating your company's e-commerce site with the latest products in the catalog. What are some characteristics of the Python programming language? Check all that apply. Python programs are easy to write and understand (Because the syntax used by Python is similar to the one used by the English language) The python interpreter reads our codes and transforms it into computer instructions (We write our code using Python's syntax and semantics, and the interpreter transforms that into instructions that our computer executes.) We can practice Python using web interpreters or codepads as well as executing it locally (We can practice writing Python code with many different tools available to us, both online and offline) How does Python compare to other programming languages? Each programming language has its advantages and disadvantages (Each language has its pros and cons. The best language to choose will depend on the problem you are trying to solve.) Write a Python script that outputs "Automating with Python is fun!" to the screen. for i in range(1): print("Automating with Python is fun!") Fill in the blanks so that the code prints "Yellow is the color of sunshine". color = "Yellow" thing = "sunshine" print(color + " is the color of " + thing) Keeping in mind there are 86400 seconds per day, write a program that calculates how many seconds there are in a week, if a week is 7 days. Print the result on the screen. Note: Your result should be in the format of just a number, not a sentence. print (86400*7) Use Python to calculate how many different passwords can be formed with 6 lower case English letters. For a 1 letter password, there would be 26 possibilities. For a 2 letter password, each letter is independent of the other, so there would be 26 times 26 possibilities. Using this information, print the amount of possible passwords that can be formed with 6 letters. p = 26 total = p ** 6 print(total) Most hard drives are divided into sectors of 512 bytes each. Our disk has a size of 16 GB. Fill in the blank to calculate how many sectors the disk has. disk_size = 4*1024 sector_size = 512 sector_amount = (4*1024)/512 print(sector_amount)

Show more Read less
Institution
CRASH COURSE PYTHON ::
Course
CRASH COURSE PYTHON ::








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

Written for

Institution
CRASH COURSE PYTHON ::
Course
CRASH COURSE PYTHON ::

Document information

Uploaded on
August 26, 2022
Number of pages
2
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

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.
EvaTee Phoenix University
View profile
Follow You need to be logged in order to follow users or courses
Sold
4966
Member since
4 year
Number of followers
3554
Documents
50567
Last sold
11 hours ago
TIGHT DEADLINE? I CAN HELP

Many students don\'t have the time to work on their academic papers due to balancing with other responsibilities, for example, part-time work. I can relate. kindly don\'t hesitate to contact me, my study guides, notes and exams or test banks, are 100% graded

3.9

907 reviews

5
434
4
160
3
164
2
45
1
104

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