Skip to main content

ads1

Chapter :-1 Applying Styles in a Document

 Chapter :-1 Applying Styles in a Document 

Select the correct option.

1. It is a predefined combination of various formatting features.

a. Paragraph   

b. Style

c. Font 


2. The Styles group is available under the _________ tab. 

a. Insert

b. Page Layout

c. Home 


3. The _______ styles are used to control all the aspects of a paragraph's appearance.

a. Character

b. Paragraph

c. Frame


4. What operation do you perform in the current document to copy a style from selection?

a. Update Style

b. Load Style

c. Modify Style


B. Write T for True and for False.

1. The Styles pane opens on the left of the window, by default. :- False 
2. The Styles pane is a floating or dockable pane. :- True 
3. Page Styles include page size, margins, headers and footers, borders, and backgrounds. :- True 
4. You cannot modify the predefined styles in Word. :- False 
5. Style set is a combination of title, heading, and paragraph styles. :- True

C. Answer the following questions,

1. What are styles? 

Ans :-
A style is a predefined combination of various formatting features, like font style, colour, and size that is applied to the selected text in a document to quickly change its appearance.

2. What is the difference between Paragraph and Character styles? 

Ans :-
Paragraph :- This style is used to control all the aspects of a paragraph's appearance, such as text alignment, tab stops line spacing, and so on.

Character :- The Character style affects the characters only, for example, it enables you to set the font and size of text, or bold and italic formats.

3. How can you apply a style to the selected text?

Ans :- 
  1. Word provides various predefined styles to apply on the text in a document. There are two methods to apply styles on the selected text.
  2. APPLYING STYLES FROM STYLES GROUP
  3. You can apply built-in styles from the Styles group of Home tab. Follow the given steps:
  4. Open blank document in Word and type the text. 
  5. Select the text on which you want to apply a style. For example, select the title of the text-"PREPARATION STRATEGY FOR EXAMS".
  6. Move the mouse pointer over the predefined styles in the Styles group of the Home tab to preview the effect
  7. of each style on the selected text. 
  8. Now, click on any desired style to apply it to the Selected text.
  9. For more style options, you can click on the More button of the Styles group.

4. How do you create a custom style?
Ans :- 
  1. You can make the changes in the style that you have created. To do this, follow the given steps:
  2. Right-click on the style that you have created from the Styles gallery. A shortcut menu appears. Select the Modify option. The Modify Style dialog box appears
  3. Make the required changes in the style such as Name, Type, Font, Size, Colour, Alignment, etc., and click on OK
  4. Select any one of the two options given at the bottom of the Modify Style dialog box, i.e., Only in this document or New documents based on this template, depending on whether you want the style to be applied to the current document only or new documents based on this template.
  5. Click on OK. The required changes will be applied to the style



ads2

Popular posts from this blog

11. Write a Java program to input basic salary of an employee and calculate its Gross salary according to following:

    11. Write a Java program to input basic salary of an employee and calculate its Gross salary according to following: Basic Salary <= 10000 : HRA = 20%, DA = 80% Basic Salary <= 20000 : HRA = 25%, DA = 90% Basic Salary > 20000 : HRA = 30%, DA = 95% Static Solution :-  class salary {     public static void main(String args[])     {     double basic=20000.50,gross,da,hra;     if(basic <=10000)     {         da = basic * 0.8;         hra = basic *0.2;     }              else if(basic <=20000)     {         da = basic * 0.9;         hra = basic *0.25;     }     else     {         da = basic * 0.95;         hra = basic * 0.3;     }     gross = basic + da + hra;     System.out.println("The Gross Salary is :-"+gross);     } } Output :-  Dynamic Solution :-  class salary {     public static void main(String args[])     {     double basic=20000.50,gross,da,hra;     Scanner in = new Scanner(System.in);     System.out.println("Enter the Basic Salary

1. Given the school result data, analyses the performance of the students on #different parameters, e.g subject wise or class wise.

1. Given the school result data, analyses the performance of the students on #different parameters, e.g subject wise  or class wise. Solution :-   # x-axis is shows the subject and y -axis # shows the markers in each subject # import pandas and matplotlib  import pandas as pd  import matplotlib.pyplot as plt # Simple Line Chart with setting of Label of X and Y axis, # title for chart line and color of line  subject = ['Physic','Chemistry','Mathematics', 'Biology','Computer'] marks =[80,75,70,78,82] # To draw line in red colour plt.plot(subject,marks,'r',marker ='*')     # To Write Title of the Line Chart plt.title('Marks Scored') # To Put Label At Y Axis plt.xlabel('SUBJECT')           # To Put Label At X Axis plt.ylabel('MARKS')             plt.show() Output :- 

24.Create a Data Frame quarterly sales where each row contains the item category, item name, and expenditure. Group the rows by the category and print the total expenditure per category.

24.Create a Data Frame quarterly sales where each row contains the item category, item name, and expenditure. Group the rows by the category and print the total expenditure per category. import pandas as pd  # initialize list of lists data = [['CAR','Maruti',1000000],['AC','Hitachi',55000],['AIRCOLLER','Bajaj',12000], ['WASHING MACHINE','LG',15000],['CAR','Ford',7000000],['AC','SAMSUNG',45000],['AIRCOLLER','Symphony',20000],['WASHING MACHINE','Wirlpool',25000]] Col=['itemcat','itemname','expenditure'] # Create the pandas DataFrame qrtsales = pd.DataFrame(data,columns=Col) # print dataframe.  print (qrtsales) qs=qrtsales.groupby('itemcat')  print('Result after Filtering Dataframe')  print(qs['itemcat','expenditure'].sum()) Output :-