Posts

GWBasic programs for Standard VII and VIII

 Try these programs on your Computer also and write in your notebook. Write a program to ADD two numbers 10 REM ADD TWO NUMBERS 20 INPUT “ENTER A”;A 30 INPUT “ENTER B”;B 40 LET C=A+B 50 PRINT “SUM”;C 60 END Write a program to SUBTRACT two numbers 10 REM SUBTRACT TWO NUMBERS 20 INPUT “ENTER A”;A 30 INPUT “ENTER B”;B 40 LET C=A-B 50 PRINT “DIFFERENCE”;C 60 END Write a program to calculate the AREA OF RECTANGLE 10 REM AREA OF RECTANGLE 20 INPUT “ENTER LENGTH”;L 30 INPUT “ENTER BREADTH”;B 40 LET A=L*B 50 PRINT “AREA”;A 60 END Write a program to calculate the AREA OF CIRCLE 10 REM AREA OF CIRCLE 20 INPUT “ENTER RADIUS”;R 30 A=3.142*R*R 40 PRINT “AREA”;A 50 END Write a program to calculate the AREA OF TRIANGLE 10 REM AREA OF TRIANGLE 20 INPUT “ENTER LENGTH”;L 30 INPUT “ENTER BREADTH”;B 40 LET A=0.5*L*B 50 PRINT “AREA”;A 60 END Write a program to calculate the SUM and AVERAGE of three marks and display them 10 REM SUM AND AVERAGE 20 INPUT “MARK1”;M1 30 INPUT “MARK2”;M2 40 INPUT “MARK3”;M3...

HTML Commands for Standard VII and VIII

Image
  Parts of Any HTML Document Every HTML document consists of two elements: Head elements -- provides page title and general page formatting commands Body elements -- put the main HTML text in this part.   HTML Tags All HTML commands or tags have the following form: HTML is not case sensitive -- tags can be upper or lower case letters (even mixtures of cases). Start of Tag <name_of_tag>....Text within Tag..... End of Tag </name_of_tag>. Tags control the structure, formatting and hypertext linking or HTML pages.   HTML Page Structure <HTML> <HEAD> <TITLE>……</TITLE> </HEAD> <BODY> THE BODY CONTENTS </BODY> </HTML>   Head elements <head>....</head> tag delimits head part of document. <title>....</title> Defines the title of the Web page.   The Body Element <body>....</body> tag delimits body part of document. All other commands that constitute web page nested inside body....