Lets Learn Loops in C++

Expert Online Training in Computer Languages and Different Technologies By NIIT Faculty having 14 Years of Professional IT Experience. Want to score good marks in college subjects like C, C++, Java, PHP, VB.net, VB, DBMS, RDBMS, Oracle, MySQL, SQL Server, Open Office on Linux. Visit My Website for More Information : www.gtit.in
Thursday, September 10, 2015
Monday, August 24, 2015
While Loop in Different Forms
Predict the output of the following codes:
1. int i=0;while(i<10)
{
JOptionPane.showMessageDialog(rootPane,"hello");
}
2. int i=110;
while(i<10)
{
JOptionPane.showMessageDialog(rootPane,"hello");
}
3. int i=0;
while(i<10);
{
JOptionPane.showMessageDialog(rootPane,"hello");
i=i+1;
}
4. int i=0;
while(i<10)
{
JOptionPane.showMessageDialog(rootPane,"hello");
i++;
}
5. int i=0;
while(i<10)
{
JOptionPane.showMessageDialog(rootPane,"hello");
i--;
}
6. int i=0;
while(i==10)
{
JOptionPane.showMessageDialog(rootPane,"hello");
}
7. while(i<10)
{
JOptionPane.showMessageDialog(rootPane,"hello");
}
8. int i=0;
while(i<10)
{
JOptionPane.showMessage Dialog(rootPane. "hello");
}
9. int i=0;
while(i<10)
{
JOptionPane.showMessageDialog(rootPane,"hello");
i=10;
}
10. int i=0;
while(i<10)
{
JOptionPane.showMessageDialog(rootPane,"hello");
i=i+1;
i=i-1;
}
11.
while(1)
{
JOptionPane.showMessageDialog(rootPane,"hello");
}
Thursday, August 20, 2015
Wednesday, August 19, 2015
Sample HTML Code
In this HTML code we are learning how to write the tags like
- H1 to H6 (Heading)
- HR (Horizontal Tag)
- B (Bold tag)
- U (Underline Tag>
- I (Italic tag)
- Font (font tag)
- Font tag Attributes like FACE, SIZE, COLOR
- CENTER (Center tag)
- BR (Line Break)
Sample Code of HTML tags
<html>
<head><title>Lets Learn HTML</title></head>
<body bgcolor="ff6633" text=white>
<center>
<h1>Heading</h1>
<hr>
Horizontal Rule<br>
<hr>
<br>This is sample <b>BOLD</b> <br>
<br>This is sample <u>UNDERLINE</u><br>
<br>This is sample <i>ITALIC</i><br>
<br>This is sample <font face="Lucida Handwriting" size=10>FONT FACE</font><br>
<br>This is sample <font size=10>FONT SIZE</font><br>
<br>This is sample <font color=red size=10>FONT COLOR</font><br>
<br>This is sample SUB SCRIPT:<font size=10> Log<sub>e</sub></font><br>
<br>This is sample SUPER SCRIPT:<font size=10>X<sup>2</sup></font> <br>
<br>This is sample <br>
<br>This is sample<br>
</center>
</body>
Tuesday, August 18, 2015
Monday, September 08, 2014
Wednesday, October 09, 2013
Database Intro
Software is a set of
instruction to perform a particular task
Database is collection of tables.
Table is a collection of columns which stores information in the form of rows. which refers to a records.
RDBMS or DBMS
(Relational Database Management System or Database Management System)
Is a software which
is use to manage data.
Operations like
Adding new records and modifying old records and delete the old records are
performed in Database
Various Databases
are like Oracle, Microsoft, MySql.
Microsoft Access is
a graphical tool to create database and manage tables in a database.
Simplest Example of a Database operations is a mobile phone Contacts
Mobile-> Database
Contacts-> table
Records of our friends
firstname
lastname
middlename
mobileno
homeno
email
dob
address
all the above are the columns of a contact table
task on the table
new
modify
delete
How to open MS Access.
Start -> All Programs -> Microsoft Office -> Access
Case Study:
I want to store information about the details of a school.
Information we need to store in a school database.
1. Students
2.Staff
3.Class
4.Exam
5.Subject
Database Name : SchoolDB
Tables in a SchoolDB Database
1. Table Name: Students
2. Table Name: Staff
3. Table Name: Class
4. Table Name: Exam
5. Table Name: Subject
Columns in Students Table:
RollNo.
FirstName
LastName
MiddleName
MobileNo.
HomeNo
FatherName
Mothers Name
Email
DOB
Age
Address
ClassName
LastClassScore
LastSchoolName
FeePaid
Section
Columns in Staff Table:
FirstName
LastName
MiddleName
MobileNo.
HomeNo
Email
Address
Qualification
Post
Exp
Salary
LastSchoolName
Columns in Class Table:
ClassID
Classname
fee
Columns for Exam Table
ClassID
SubjectID
Rollno
Marks
Columns for Subject Table
SubjectID
SubjectName
ClassID
Subscribe to:
Posts (Atom)