QuiztudyPREMIUM
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 computerB
A process for getting duplicate values removed from a listC
A list of instructions that the computer has to follow to reach a goalCorrect AnswerD
A file that gets copied to all machines in the networkQUESTION 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 AnswerB
The subject of a sentenceC
The difference between one language and anotherD
The meaning of the wordsQUESTION 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 AnswerB
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 AnswerB
Creating your own startup companyC
Helping a user who’s having network troublesD
Copying a file to all computers in a companyCorrect AnswerE
Interviewing a candidate for a jobF
Investigating the root cause of a machine failing to bootQUESTION 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 writtenB
The difference in number values in one instance of a script compared to anotherC
The intended meaning or logic of coded statementsCorrect AnswerD
The end result of a programming instructionQUESTION 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 languageB
So that we know which part is the subject and which one is the predicateC
To allow us to clearly express what we want the computer to doCorrect AnswerD
To understand why our computer crashesQUESTION 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 doB
The process of installing traffic lightsC
The process of getting a haircutD
The process of replacing a manual step with one that happens automaticallyCorrect AnswerQUESTION 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 websiteB
Installing software on laptops given to new employees when they are hiredCorrect AnswerC
Designing a configuration management system for deploying software patchesD
Periodically scanning the disk usage of a group of fileserversCorrect AnswerReady 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
How confident are you in this answer?