CSC-171 Introductory Python Programming Project 1: Ch 1 topics Mastery Objectives: Understanding programming and Python vocabulary. Writing Python instructions that requires the use of strings and...

1 answer below »



CSC-171 Introductory Python Programming





Project 1: Ch 1 topics Mastery








Objectives:

Understanding programming and Python vocabulary. Writing Python instructions that requires the use of strings and numbers to store values, formulate expressions and perform numerical calculations






Worksheet 1 (wks 1 and 2) Complete the following Questions (5 points)



1.
Matching(1.8 points)


_D___ Expression A. appends one value to another (usually used with strings)


____ Syntax B. instructions given to a computer to accomplish some task


____ Variable C. small and capital letters are considered different from each other


____ Precedence D. consists of a value or values and operators that can be evaluated


____ Evaluate E. >>> displayed by the Interactive shell


____ Concatenate F. program stops running (and displays an error message)


____ Operator G. program application that lets you type code to be saved into it


____ IDE H. reduce down to a single value


____ Interpreter I. a named storage location that holds a value


____ Editor J. special names that are the commands of a program language


____ Prompt K. a console window where you can try out Python3 instructions


____ Shell L. special symbol in Python that performs some action on values


____ Crash M. the remainder after performing integer-only division


____ Keywords N. what the programmer types into the computer to be run


____ Case-sensitive O. order of how arithmetic operators are applied


____ Modulus P. the rules of a programming language


____ Program Q. a program that translate English-like program to machine language


____ Source code R. a tool that programmer’s use that include an Editor, debugger, and interpreter (or compiler)




2.

Identify
3 Python data types
and
show assignment statement
examples for each. (1.2 points)




3.
Show the line of code to exactly print to screen: “What’s up Doc?“ (including all “ and ‘ )(0.5 points)




4.
What is the result of the following expressions? (1 point)



a. 10 / 3


b. 10 % 3


c. 10 // 3


d. 0 % 5




5.
Show Python3 code that will report the number of characters in: “E A G L E S !” (0.5 pt)


Answered Same DaySep 18, 2021

Answer To: CSC-171 Introductory Python Programming Project 1: Ch 1 topics Mastery Objectives: Understanding...

Vibhav answered on Sep 18 2021
129 Votes
Q. 1 & 2.
Expression    A. appends one value to another (usually used with strings)
Syntax        B. instructions given to a computer to
accomplish some task
Variable    C. small and capital letters are considered different from each other
Precedence    D. consists of a value or values and operators that can be evaluated
Evaluate    E. >>> displayed by the interactive shell
Concatenate     F. program stops running and (and displays an error message)
Operator    G. program application that lets you type code to be saved into it
IDE        H. reduce down to a single value
Interpreter    I. a named storage location that holds a value
Editor        J. special names that are the commands of a program language
Prompt        K. a console window where you can try out Python3 instructions
Shell        L. special symbol in Python that performs some action on values
Crash        M. the remainder after performing integer-only division
Keywords    N. what the programmer types into the computer to be run
Case-sensitive     O. order of how arithmetic operators are applied
Modulus    P. the rules of a programming language
Program     Q. a program that translate English-like program to machine language
Source code    R. a tool that programmer’s use that include an Editor, debugger, and interpreter (or compiler)
Ans.
Expression    D. consists...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here