A day Computer Science Mazoor Do Now IF statement
IMPORTANT MESSAGE
************************************************
FINAL TERM EXAM WILL BE TAKEN IN THREE PARTS BETWEEN (MAY 26 to 28)
PART 1: VOCABULARY TERMS
PART 2: PROGRAMMING CODES
PART 3: MULTIPLE QUESTIONS
************************************************
DO NOW
Q. What is the if statement in Python la?
http://anh.cs.luc.edu/handsonPythonTutorial/ifstatements.html
CLASSWORK:
https://www.geeksforgeeks.org/python-float-type-and-its-methods/
************************************************
FINAL TERM EXAM WILL BE TAKEN IN THREE PARTS BETWEEN (MAY 26 to 28)
PART 1: VOCABULARY TERMS
PART 2: PROGRAMMING CODES
PART 3: MULTIPLE QUESTIONS
************************************************
DO NOW
Q. What is the if statement in Python la?
http://anh.cs.luc.edu/handsonPythonTutorial/ifstatements.html
CLASSWORK:
Q1 . The computer program is written in:
English language
Programming language
Machine language
None
Q2. The programming languages that are close to human language are called:
Low level language
Machine language
High level language
Assembly language
Python Programming Question:
Q3. What type of value takes float?
Float is used to represent real numbers and is written with a decimal point dividing the integer and fractional parts. For example, 97.98, 32.3+e18, -32.54e100 all are floating point numbers. Python float values are represented as 64-bit double-precision values.https://www.geeksforgeeks.org/python-float-type-and-its-methods/
Q4. Write a program that display your name on output screen,
def personal_details(): name = "Anthony" print("Name: {}".format(name)) personal_details()
def personal_details(): name = "Anthony" print("Name: {}".format(name)) personal_details()
Comments
Post a Comment