< ;
Breaking News
Loading...
Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Sunday, October 27, 2019

html tutorial for beginners | HTML NOTES |


HTML TUTORIALS FOR BEGINNERS HTML NOTES

Image result for HTML\

HTML stands for Hyper Text Markup Language, which is the most widely used language on Web to develop web pages. HTML was created by Berners-Lee in late 1991 but "HTML 2.0" was the first standard HTML specification which was published in 1995. HTML 4.01 was a major version of HTML and it was published in late 1999. Though HTML 4.01 version is widely used but currently we are having HTML-5 version which is an extension to HTML 4.01, and this version was published in 2012.

What is HTML?

HTML is the standard markup language for creating Web pages.
  • HTML stands for Hyper Text Markup Language
  • HTML describes the structure of a Web page
  • HTML consists of a series of elements
  • HTML elements tell the browser how to display the content
  • HTML elements are represented by tags
  • HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
  • Browsers do not display the HTML tags, but use them to render the content of the page


DOWNLOAD HTML NOTES


HTML NOTES

  • HTML tags normally come in pairs like <p> and </p>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • The end tag is written like the start tag, but with a forward slash inserted before the tag name

Why to Learn HTML?

Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers. Now, HTML is being widely used to format web pages with the help of different tags available in HTML language.
HTML is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Web Development Domain. I will list down some of the key advantages of learning HTML:
  • Create Web site - You can create a website or customize an existing web template if you know HTML well.
  • Become a web designer - If you want to start a carrer as a professional web designer, HTML and CSS designing is a must skill.
  • Understand web - If you want to optimize your website, to boost its speed and performance, it is good to know HTML to yield best results.
  • Learn other languages - Once you understands the basic of HTML then other related technologies like javascript, php, or angular are become easier to understand.

Applications of HTML

As mentioned before, HTML is one of the most widely used language over the web. I'm going to list few of them here:
  • Web pages development - HTML is used to create pages which are rendered over the web. Almost every page of web is having html tags in it to render its details in browser.
  • Internet Navigation - HTML provides tags which are used to navigate from one page to another and is heavily used in internet navigation.
  • Responsive UI - HTML pages now-a-days works well on all platform, mobile, tabs, desktop or laptops owing to responsive design strategy.
  • Offline support HTML pages once loaded can be made available offline on the machine without any need of internet.
  • Game development- HTML5 has native support for rich experience and is now useful in gaming developent arena as well.
FOR EXAMPLE

Heading Tags

Any document starts with a heading. You can use different sizes for your headings. HTML also has six levels of headings, which use the elements <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>. While displaying any heading, browser adds one line before and one line after that heading.

Paragraph Tag

The <p> tag offers a way to structure your text into different paragraphs. Each paragraph of text should go in between an opening <p> and a closing </p> tag as shown below in the example −

Line Break Tag

Whenever you use the <br /> element, anything following it starts from the next line. This tag is an example of an empty element, where you do not need opening and closing tags, as there is nothing to go in between them.
The <br /> tag has a space between the characters br and the forward slash. If you omit this space, older browsers will have trouble rendering the line break, while if you miss the forward slash character and just use <br> it is not valid in XHTML.

Centering Content

You can use <center> tag to put any content in the center of the page or any table cell.

Horizontal Lines

Horizontal lines are used to visually break-up sections of a document. The <hr> tag creates a line from the current position in the document to the right margin and breaks the line accordingly.

Preserve Formatting

Sometimes, you want your text to follow the exact format of how it is written in the HTML document. In these cases, you can use the preformatted tag <pre>.
Any text between the opening <pre> tag and the closing </pre> tag will preserve the formatting of the source document.

We have seen few HTML tags and their usage like heading tags <h1>, <h2>, paragraph tag <p> and other tags. We used them so far in their simplest form, but most of the HTML tags can also have attributes, which are extra bits of information.
An attribute is used to define the characteristics of an HTML element and is placed inside the element's opening tag. All attributes are made up of two parts − a name and a value
  • The name is the property you want to set. For example, the paragraph <p> element in the example carries an attribute whose name is align, which you can use to indicate the alignment of paragraph on the page.
  • The value is what you want the value of the property to be set and always put within quotations. The below example shows three possible values of align attribute: left, center and right.
Attribute names and attribute values are case-insensitive. However, the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation.

Wednesday, September 25, 2019

INFORMATICS PRACTICES CBSE Sample Question Papers 2019-20

Image result for ip sample paper class 12


                                                    

                                                              Section-A

1.(a) Expand the following term:-
(I)ODF
(ii)FLOSS

(b) B R international school is planning to connect all computers,each spread over
45 meters.Suggest an economical cable type having high-
data transfer, which can be used to connect these computers



 (c) Write examples of one Proprietry and one Open Source Software.?

d) Mr.Ram want to prevent unathurized access to/from his company's local area
network. Write the name of a system(software/hardware),which he should instal
to do it.

(e) Ms. Kavya ,GM of MNC recently discovered that the communication between
her company accounts office and HR office is extremely slow and signal drop
quite frequently. These offices are 120 meters away from each other and
connected by an ehternet cable.

(i)Which device will you suggest for connecting all the computers with in each
their office units?
(ii) What type of network is formed by having this kind of connectivity out of
LAN,MAN,WAN?

(f) Raysha is confused between the MAC address and IP address. Help her by
differentiating between MAC and IP address.

(g) Write differences between Shareware and Open source software?

2 (a) Ms Ram has developed a Java application through which the students of her
school can view their marks by entering their admission number.The marks
are displayed in various text fields. What should she do so that the students ar
able to view but not change their marks in text fields?Write appropriate
command also.

(b)Write difference between arithmetic operator and relational operator with the help of appropriate examples

(c)will the output from the following two code be any different ?
  First code :
Int x=35, y =55;
While (x<=y) {
jTextField1.setText(“”+x);

x=x+8;
}

Second code :
Int x=35 ,y =55;
do {
jTextField1.setText(“”+x);

x=x+8;

}while (x<=y);
Give reasons for your answer

                                                           OR
Predict the output of the following  code

Int n=4,m=1,I;
for (i=1;i<=n,i++)
{
M=m*I;
}
 jTextField1.setText(“ ”+m);
jTextField2.setText(“ ”+i);
(d)  what will be the content of jtextfield1, jtextfield2, jtextfield3 and jtextfield4 for after execution of the following code:

      Stringx=”Informatics practices”;
    jTextField1.setText(math.round(2,3)+””);
    jTextField2.setText(Math.pow(2,3)+””);
    jTextField3.setText(x.subString(4)
    jTextField4.setText(x.subString(2,14)+””);

3.(a) Difference between DDL and DML commands ?
  (b) Write SQL command for the following on the basis of given table STUDENT

                                                           STUDENT
STUD_ID
NAME
STREAM
MARKS
GRADE
CLASS
S01
RUHI
MEDICAL
78
B
12B
S02
AMOL
COMMERCE
88
A
12D
S03
NITIKA
COMMERCE
76
B
12C
S04
VASU
HUMANITIES
89
A
12E
S05
RASHI
SCIENCE
87
A
12A


Help in writing SQL query for the following purpose
(I) display all the students who are from commerce stream
(II) to display name and class of those students who got marks more than 85
(III) to display info of students whose name start with R
 to add a column remark with suitable data type
 (IV)list all the student sorted by marks in descending order

 (C)observe the table name student given above carefully and predict the output of the following querY

 (i)select name from Student where class =’12 A’
 (ii)select marks from Student
 (iii)select sum (marks) from student who stream =’commerce’
 (iv)select Max (marks) from student

(d) what is the degree  and cardinality of the above given table named student

4. (a) Radhika has place to reduce button on a payment form design in NetBeans to accept     mode of payment on out of and cash but during runtime a customer is able to select both           options for a single transaction what went wrong

                                                              OR
mention any one advantage of jcombobox control over a jlistbox control

 (b)Pratham is working with the following swing controls
 J checkbox ,jbutton,jRadioButton,jLabel.
 Suggest him any two basic methods commonly available with all the four control mentioned above

                                                     OR

 write the function of getting item from jail listbox which property we use to add in JS listbox

 (C)what will be an output of the following code if value of variable choice is 1

 case 1  : jTextField1.setText(“Monday”);

 case 2  : jTextField1.setText(“tuesday”);

 case 3  : jTextField1.setText(“wednesday”);break;

 case 4  : jTextField1.setText(“thursday”);break;
default  :jTextField1.setText(“FRIDAY”);BREAK;

                                                                 OR

RE WRITE the above given code throygh if else statement .

(d) (i) aysha a beginner in java programming has vwritten following code with some mistakes (4 mistakes)
int k=0;
i=6;
for (int i=0;k<l,i++)

{
jTextArea1.append(i+/n);
k++;
};

Help her in identifying and correcting the errors.
(ii) convert the following code into do while looping statement

Observe the given code:
Int x=10;
While (x>5)
{
X=x-2;
}

                                                                      OR
Attempt the following questions based on the above given code
Q  how many times the above given loop will run and what will be the value of x immediately after the existing of from the loop
 out of entry control or exit control loop above given will come under which category and why?

(e) study the following code and answer the questions that FOLLOW
 study the following code and answer the questions that follow:
String str=”Assisi convent School”; int r;
Int len=str.length();
jTextField2.setText(str.toUpperCase());

r=100-len;

jTextField3.setText(Integer.toString(r)+”characters can be entered” );

predict the output displayed in text field named jTextFiled2 and jTextFiled3 after running the above code

(f) what do you understand by class and object in oop? Explain with example .

(g)mrs babita ji a programmers in mnc has designed application for a hotel as shown below





HELP HER IN WRITING THE CODE TO DO THE FOLLOWING:
(I)Write the code to disable the text boxes rate and net amount when form activated

 (II)write the code for clear and exit button

 (III) after clicking on the calculate button rate should be calculated depending on the type of room selected by a customer and displayed in the respective text field as per the given formula
ROOM TYPE      RATE PER DAY
SINGLE                1500
DOUBLE              2800
DELUX                5000
 ( RATE=NO OF DAYS * RATE PER DAY)

(IV) if a customer is having membership card than 10% discount should be given and after the giving the discount net amount should be  display in net amount text field net amount equal to rate minor discount

5 (a)write one similarity and one difference between primary key and unique constraint

 (B)write difference between SQL and mySQL

 (C )consider the following table book given below:
BID
AUTHOR
PRICE
NAME
MEM_NAME
ISSUE_DATE
B01
APJ ABDUL KALAM
550
WINGS OF FIRE
SARITA
2018-05-20
B02
ROBIN ARORA
340
THE MONK
MAJU
2018-03-15
B03
SHIV KHERA
230
MONKEY
ANU
2018-04-16
B04
SPENCER
JHONSON
450
SUMIT PANDIT
GOBAR
2018-03-17
B05
PATRICKMATHER
250
PATRICK
PROBSEET
2018-06-18




 (I)suggest the suitable data type for issue date column
 (II)suggest the suitable SQL command to change the size of column name from 30 character 250 character
(III) mention the significance of read column in table book
(IV)which command will you increase the price of books by 50 rupees 

(D)write difference between delete and drop command





6 (a) Write Sql query to create  a table “LIBRARY” with the following structure.
                                        TABLE LIBRARY
FIELD_NAME
DATA_TYPE
SIZE
CONSTRAINT
BOOK_ID
INTEGER
2
PRIMARY KEY
BOOK_NAME
VARCHAR
20

CATEGORY
VARCHAR
10

ISSUE_DATE
DATE




                                                 OR
HELP  RAMESH in identifying any two column for a table named employee along with their suitable data type.
(b) differenece between candidate keys and alternate keys.
(c)(i)what do you understand by denial of service attack?
 (ii) what do you understand bu inheritance ?
(iii)what is result set?
7 (a) Write difference between ring and star topology ?

(b) which of the following is not the feature of networking
(i) resource sharing
 (ii)uninterrupted power supply
(iii) reduced cost
(iv) Reliability

 (c) Mrs Rama work as an programmer in a form in her current project she is supposed to design a registration page for an online Educational Institute help her into tsing the most  appropriate control for the specified from textfield label radio button checkbox listbox and combobox button and write in the third column:


S NO
CONTROL USED TO INPUT
CONTROL
1
STUDENT NAME

2
STUDENT LOCATION

3
CHOOSE STREAM

4
SUGGESTION