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:
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()


Comments

Popular posts from this blog

Computer Science Manzoor Do Now Due 250 PM

Computer Science Manzoor Do Now and Class due 2:50 PM

Bday Math Pre-Calc M. Mui Pecentage increase/decrease do now Class: Jeopardy due 2:30 Pm