Module 1

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Mark each of the following email titles if they are GOOD titles. "HELP ME!!!!!!!!!" "How do I initialize a variable?" "Course Confusion" "Why do I get an error?" "What is a NameError and how do I get rid of it?" "i got an eror hlp plz" "#3.2 doesn't make any sense"

"How do I initialize a variable?" "What is a NameError and how do I get rid of it?"

Match the error with the sentence. 1) Green is with the monkey's ears and toes. 2) Wishes hop incorrectly over the coffee cup. 3) Oxygen cold wheat. 4) This Open. Verbed -- ? Outside ... grapes! 5) Where did the ribbon go?

1) Semantic Error 2) Semantic Error 3) Syntax Error 4) Syntax Error 5) No error

Which of the following are equivalent to the phrase "Ran a program"? Wrote a program Executed a program Killed a program Performed a program

Executed a program Performed a program

Avoid getting help for as long as possible, so that you don't bother anyone.

False

Computer science is the scientific study of computers

False

Humans discovered programming languages in the 1940s and have been decoding them ever since.

False

If at first you don't succeed, then you should give up.

False

If you're smart, it doesn't matter when you get started on an assignment - you'll probably do about as well as you would if you started earlier.

False

One of the differences between a novice and an expert is that experts don't need help.

False

When a program is being executed, each line of the program is executed at the same time.

False

You only get one attempt at most assignments in this course.

False

You should not put error messages into help seeking emails because it can clutter up the email.

False

Your attitude has no impact on your ability to learn to program.

False

Which of the following examples is an appropriate way to send code? Hello instructor, I have a problem in the following code: https://pastebin.com/DjcgHkYkLinks to an external site. Hello instructor, my code has a problem in it. Hello instructor, this code has a problem in it: print(my_age) my_age = 0 my_age = my_age + 5 Hello instructor, this code has a problem in it: print(my_age) my_age = 0 my_age = my_age + 5 Hello instructor, my code has a problem in it. I have attached the code as a Python file for you to look at: download link to python fileLinks to an external site.

Hello instructor, I have a problem in the following code: https://pastebin.com/DjcgHkYkLinks to an external site. Hello instructor, this code has a problem in it: print(my_age) my_age = 0 my_age = my_age + 5 Hello instructor, my code has a problem in it. I have attached the code as a Python file for you to look at: download link to python fileLinks to an external site.

Put these three phases of programs into order: Processing Input Output

Input Processing Output

Which of the following are reasons why Python is a good language to learn? It is one of the most popular programming languages in the world. It is an easy language to learn. There are many powerful libraries for Python that make it useful for many kinds of problems. It is a brand new language. It is heavily funded by the United States government, making it very reliable.

It is one of the most popular programming languages in the world. It is an easy language to learn. There are many powerful libraries for Python that make it useful for many kinds of problems.

What are some common uses for Python? Making web servers Writing a novel Processing data Scientific computing

Making web servers Processing data Scientific Computing

Which of the following is true? Programming is a small, well-defined field. Programming is how programmers make programs. Computers are useful because they can usually figure out what we want them to do, even if we are unclear. Only licensed Computer Scientists are allowed to program professionally. The order of instructions do not matter when programming Nowadays, even cars run software.

Programming is how programmers make programs. Nowadays, even cars run software.

Which of the following are TRUE statements about Python? Python programs are really just text files. Python is an operating system. Python is a program used to execute programs. Python is a programming language

Python programs are really just text files. Python is a program used to execute programs. Python is a programming language

Select all of the following that are common synonyms for the term "program": Scripts Application Computer Codes Software Code

Scripts Application Software Code

Getting started on an assignment immediately and working in frequent short bursts is a good way to succeed.

True

Learning to program can be hard for some people. Feeling frustrated is okay.

True

Programming languages are good for writing instructions.

True

Programming languages, like spoken languages, have rules.

True


Set pelajaran terkait

Principles of Finance- Chapter 7

View Set

高職龍騰英文 B3 (B版) L1 It's in Our Blood 單字&片語

View Set

Corporate Risk Management Exam 1

View Set

AM History Semester 2 Final Exam

View Set

CGDR- Child Growth and Development

View Set

Porth Pathophysiology Chapter 37: Disorders of Brain Function

View Set