Posts

Showing posts from October, 2024

Chapter # 3 Class IX

 Q#1: What is a word processor? Write any three applications of a word processor.  Ans: A word processor is software or a device that allows users to create, edit, and print documents. It enables us to write text, store it electronically, display it on a screen, modify it and print it to hardcopy. Applications of word processing software:  • Creating, editing, saving and printing documents.  • Formatting text, such as font type, bolding, underlining or italicizing.  • Inserting elements from other software, such as illustrations or photographs.  Q#2: Discuss the Margins and Paper Size options in the Page Setup group.  Ans:  • Margins: A margin is the area or space between the main content of a page and the page edges. This button is used to change the margins of the entire document or selected section.  • Paper Size: The size button is used to choose the size of the paper for current section or entire document.  Q#3: Name and describe tw...

Chapter # 3 class 10

 Q#1: Use \a and \r both escape sequences in a program. Ans: #include <iostream> int main() {  cout<<”COMPUTER\rSCIENCE”; cout<<”COMPUTER\aSCIENCE”; } Q#2: How many types of comments statements are used in C++? Ans: In C/C++ there are two types of comments: 1. Single line comment 2. Multi-line comment Single line Comment Represented as // double forward slash It is used to denote a single line comment. Multi-line comment Represented as /* any_text */ start with forward slash and asterisk (/*) and end with asterisk and forward slash (*/). It is used to denote multi-line comment. Q#3: Difference between arithmetic operator and relational operator. Ans: Arithmetic operators are used to perform mathematical operations like division, multiplication, addition, subtraction and remainder/modulus method. While the relational operators are used to perform comparison operations. Simply we can say, it is used to test the relation between two values. Q#4: Write a program ...