Python

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Q59. How can you tell if a colleague is coauthoring a document at the same time as you? (Select all that apply.)

A. Colleague's name appears in the Share panel. B. Colleague's picture appears in the upper-right corner of the ribbon. C. A banner notification pops up as the colleague edits the document. D. A flag icon with the colleague's name appears where their edit is being made. - [ ] A, B, C - [ ] B, C, D - [ ] A, B, D - [x] A, C, D [Reference](https://support.microsoft.com/en-us/office/coauthor-documents-anywhere-ed0cf685-f619-4d54-9c42-a61c8795c87f)

Q56. You want to be able to edit your Word document simultaneously with other Word users in your organization. Which save location should you select in the Save As dialog box?

A. OneDrive B. SharePoint document library C. Google Drive D. DropBox - [ ] A - [ ] A, B, C, D - [ ] A, B, C - [x] A or B

what is "type"?

Different kinds of data

Reserved Words in Python

False class return is finally None if for lambda continue True def from while nonlocal and del global not with as elif try or yield assert else import pass break except in raise

Operator for concatenation

+ (add two strings together)

What are the 4 Types of Code Reading

-Sequential Steps (Down) -Conditional Steps (if statements) fork in the road - run it or skip it depending on the question being asked of indented code -Repeated Steps: run for a while till we have an exit condition (while T/F question) -Store and Retrieve

Paragraphs

3-4 lines long (.py file)

What kind of error when you are adding two objects together that are different types (so can't be combined)

Traceback (most recent call last): File "<stdint>", line 1, in <module>TypeError: Can't convert 'int' object to str implicitly

Sentences

a series of ordered lines

Constants

fixed values: numbers, strings, etc. (can't use the reserved words)

Get a list of reserved Words

help("keywords")

convert '123' into an int

int('123') + 1 type error invalid literal if not all digits

Assignment statement

it is a commandment to save an object with a variable name

Variables

named place in the memory where a programmer can store data and retrieve. Can change the contents with an assignment statement = is an -->

mneumonic variable

names that mean something (understand what's going on)

type() function

what kind of class is this ? variable or constant

Assignment Statement x = y. what is x?

x is the variable name (left side)

x = y. what is y?

y is the expression (complex calculations). (right side)


संबंधित स्टडी सेट्स

BIOL336 Neurophysiology I and II

View Set

Diseases & Conditions of the Muscular System

View Set

Potter: Sleep end of text questions

View Set

chapter 6 Message Authentication Codes (MACs)

View Set