Question and Answers
for the class test 1 15th july – COMPUTER SCIENCE - 12 SC
Q1. Write a function called my_buzz that takes a number.
If the number is
divisible by 3, it should return “Fizz”.
If it is divisible
by 5, it should return “Buzz”.
If it is divisible by
both 3 and 5, it should return “FizzBuzz”.Otherwise, same no.
Ans1. Program:
1. def my_buzz(n):
2. ...
Thursday, July 18, 2019
Sunday, July 14, 2019
Class Test 3 CS/IP 15-7-2018 - CLASS 11
Question and Answers of Class Test 3 – 15th July 11
Q1. Distinguish internal and external memory of a computer?
Ans1.
Internal Memory
External Memory
This type of memory is usually fixed on the motherboard itself
This type of memory is connected to the motherboard via some cables and not directly on it
The read/write speed is very fast compared to External memory
The read/write...
Sunday, July 7, 2019
File handling with python programming language:
Why do we need to study this?
Most of the scripts (i.e. python programs) we use takes input from the user and printed the result on the shell but nothing could be saved or retrieved
With Files...