Posts

COMPUTER PRACTICAL CLASS VII

Image
 Q1.  Write the html code and find the output  Q2. Write the HTML CODE using Ordered List:- 1. English 2. Mathematics 3. Science  Q3 .  C  Write the output of the following code snippets. 1. >>> number_of_pages=200 >>>print( number_of_pages) 2. Given a list lst=["Monday","Tuesday","Wednesday","Thursday", "Friday","Saturday"] a. What statements will you write to print the elements stored at even indices? b. Write a statement to replace incorrect spelling with the correct spelling of Friday. c. Write a statement to print the number of elements in the list. d. Write a statement to print the first element of this list. 3. fruits=["apple,"mango","orange"] numbers=(5,4,3) alphabets={'a':'apple','b':'ball','c':'cat'} print(fruits) print(numbers) print(alphabets['b']) 4. >>>list1=[1,2,3,4] >>>list2=['i...

M S WORD

Image
 

M S POWERPOINT

  Question 1:  Name any four basic elements of a slide.  Answer:  The four basic elements of a slide are as follows: 1. Titles 2. Subtitles 3. Drawing objects  4. ClipArt Question 2:  How many views of a slide PowerPoint provided?  Answer:  There are six views of a PowerPoint presentation: 1. Normal view 2. Outline view  3. Notes Page view  4. Slide Show  5. Slide Sorter view  6. Master view   Question 3:  State three functions of the Slides Pane.  Answer:  Three functions of the Slides Pane are as follows: .  1. New slides may be added to the presentation. 2. Allows marking a slide as hidden for not showing it during a slide show. 3. Deleting a slide from the presentation in case it is no longer needed. Question 4:  Write three functions that can be performed in Slide Sorter view of a presentation.  Answer:  The three functions that can be performed in Slide Sorter view are as follows: ...

PRACTICE - PRACTICAL QUESTIONS CLASS 9

Image
 

PYTHON PRACTICE INTERACTIVE MODE (COMMAND LINE)

 You can use the basic mathematical operators:  1 >>> 3 + 3   6   >>> 3 - 3   0   >>> 3 / 3   1.0   >>> 3 / 2 1.5 >>> 3 * 3   9 >>> 3 ** 3   27  >>> num = 3 >>> num = num - 1  >>> print(num) 2 >>> num = num + 10 >>> print(num) 12 >>> num += 10 print(num) 22  >>> num -= 12 >>> print(num) 10 >>> num *= 10 >>> num  100 There’s also a special operator called modulus, % , that returns the remainder after integer division.  >>> 10 % 3   1  One common use of modulus is determining if a number is divisible by another number. For example, we know that a number is even if it’s divided by 2 and the remainder is 0.   >>> 10 % 2  0 >>> 12 % 2 0 Finally, make sure to use parentheses to enforce ...

CLASS 8 DATA TYPES IN PYTHON

  DATA TYPES IN PYTHON A. Tick the correct option 1.   Which of the following is not a valid variable name? ANS1. a. Print 2.   Which of the following is not a string?   ANS2. a. 89 3.   How many types of number data type are there in Python? ANS C. 4 4.   Which of the following is a data type? ANS A. TUPLE 5.   Which of the following will you use to access a value stored in a dictionary? ANS C. [ ] B. Fill in the blanks 1.   A multiline string spreads across multiple lines. 2.   Data type is used to represent data in the memory of the computer. 3.   A tuple can consist of different types of values. 4.     A conditional statement can also be called a decision making statement. 5.     The IF conditional statement has code for the condition being true only. C  Write the output of the following code snippets. 1. >>> number_of_pages=200 >>>print( number_of_pag...

CLASS 7 INTRODUCTION TO PYTHON (CHAP8)

  CLASS 7 Introduction to python 1. What is the extension of a Python program file? ANS- B .py 2. Whe was Python created? Ans a 1991 3. Which of the following is not a feature of Python? Ans c. Costly 4. In which window can you select Run- Run Module to run a Python program? Ans b. Editor 5. Which of the following is used to exit Python? Ans b quit ()     B. Fill in the blanks 1. Python is free and open source 2. The >>> prompt is called the Command prompt 3. IDLE is a Graphical user interface (GUI) 4. The Python shell window is used for the script mode. 5. % is a/an Modulus operator in Python. SHORT ANSWER QUESTIONS- 1. What is the full form of IDLE? ans1. Integrated development and learning environment. 2. Define bytecode ans- The intermediate form of the python source code that is translated into the native language of the specific system. 3. Name the two modes available in Python? Ans- 1. Script mode ...