Question: Python Programing CSC - 1 2 1 1 . Which function can be used to convert a string to a number? 2 . The range

Python Programing CSC-121
1.Which function can be used to convert a string to a number?
2.The range() function can be used together with for, to generate a sequence of float numbers.
3.Python statements can access variable values, but not change them.
4.Explain Variables:
5.One keyword used for repetition is
6.Which is a valid Python statement?
7.Python strings values can be surrounded with:
8.The Python data type for string data is:
9.What is the type of the value 123?
10.A program that incorrectly keeps repeating is referred to as having a(n):
11.Assume x=2 and y=2 and z=3. What is the value of x * y ** z / x ?
12.print() can have at most 2 items separated by a comma within its parentheses
13.If s='Hello, ' and t='there', what statement will set r to 'Hello, there' ?
14.What is the value of 'hi'<'Hi'?
15.The format() function:
16.Variable names are case insensitive, for example you can refer to the same variable as either sales or Sales.
17.A Python variable name can be a Python keyword.
18.An if must always have a corresponding else statement.
19.Assume variable a =-5.94 and b=1.What is the value of abs(round(a, b))? :
20.In addition to having a value, each Python variable __________ has a type.
21.Repetition can be used to process different scenarios.
22.Repetition is also referred to as:
23. In Python, print() is a
24. An example Python type is
25. What is the value 2.3e2 equal to?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!