Google IT Automation with Python Professional Certificate • STUDY MODE
INTRODUCTION TO PROGRAMMING
QUESTION 1 OF 8
What’s a computer program?
You nailed it! At a basic level, a computer program is a recipe of instructions that tells your computer what to do.
A
A set of languages available in the computer
B
A process for getting duplicate values removed from a list
C
A list of instructions that the computer has to follow to reach a goalCorrect Answer
D
A file that gets copied to all machines in the network
QUESTION 2 OF 8
What’s the syntax of a language?
Right on! In a human language, syntax is the rules for how a sentence is constructed, and in a programming language, syntax is the rules for how each instruction is written.
A
The rules of how to express things in that languageCorrect Answer
B
The subject of a sentence
C
The difference between one language and another
D
The meaning of the words
QUESTION 3 OF 8
What’s the difference between a program and a script?
You got it! The line between a program and a script is blurry; scripts usually have a shorter development cycle. This means that scripts are shorter, simpler, and can be written very quickly.
A
There’s not much difference, but scripts are usually simpler and shorter.Correct Answer
B
Scripts are only written in Python.
C
Scripts can only be used for simple tasks.
D
Programs are written by software engineers; scripts are written by system administrators.
QUESTION 4 OF 8
Which of these scenarios are good candidates for automation? Select all that apply.
Excellent! Creating a report that presents stored data in specific ways is a tedious task that can be easily automated.
Nice work! A task like copying files to other computers is easily automated, and helps to reduce unnecessary manual work.
A
Generating a sales report, split by region and product typeCorrect Answer
B
Creating your own startup company
C
Helping a user who’s having network troubles
D
Copying a file to all computers in a companyCorrect Answer
E
Interviewing a candidate for a job
F
Investigating the root cause of a machine failing to boot
QUESTION 5 OF 8
What are semantics when applied to programming code?
Nice job! The intended meaning or effect of coded statements are referred to as semantics.
A
The rules for how a programming instruction is written
B
The difference in number values in one instance of a script compared to another
C
The intended meaning or logic of coded statementsCorrect Answer
D
The end result of a programming instruction
QUESTION 6 OF 8
Why do we need to learn the syntax and semantics of a programming language?
You nailed it! Knowing the syntax and understanding the semantics of a programming language allows us to tell the computer what we want it to do.
A
To be able to easily switch to a different programming language
B
So that we know which part is the subject and which one is the predicate
C
To allow us to clearly express what we want the computer to doCorrect Answer
D
To understand why our computer crashes
QUESTION 7 OF 8
What’s automation?
Right on! By replacing a manual step with an automatic one we create automation that helps us reduce unnecessary manual work.
A
The process of telling a computer what to do
B
The process of installing traffic lights
C
The process of getting a haircut
D
The process of replacing a manual step with one that happens automaticallyCorrect Answer
QUESTION 8 OF 8
Which of the following tasks do you think are good candidates for automation? Check all that apply.
Right on! Installing and configuring software is a task that can be automated. Ensuring that everyone gets the exact same setup and reducing the amount of manual work needed for each new employee.
You nailed it! Scanning the disk usage is a task that can be easily automated. By letting the computer do it, you won)t have to worry about forgetting to do it whenever it)s needed.
A
Investigating reports that customers are having difficulty accessing your company)s external website
B
Installing software on laptops given to new employees when they are hiredCorrect Answer
C
Designing a configuration management system for deploying software patches
D
Periodically scanning the disk usage of a group of fileserversCorrect Answer
Ready to test your recall?
What’s a computer program?
You nailed it! At a basic level, a computer program is a recipe of instructions that tells your computer what to do.
A
A set of languages available in the computer
B
A process for getting duplicate values removed from a list
C
A list of instructions that the computer has to follow to reach a goal
D
A file that gets copied to all machines in the network