Thursday, 10 July 2014

html5 - Session # 15

OBJECTIVES
  • Explain functions
  • Explain parameterized functions
  • Explain return statement 
  • Describe objects
  • Explain different browser objects 
  • Describe Document Object Model (DOM)


 To download the slides of HTML5-Session # 15, Click Here.

html5 - Session # 14

OBJECTIVES
  • Explain while loop
  • Explain for loop
  • Explain do..while loop
  • Explain break and continue statement
  • Explain single-dimensional arrays
  • Explain multi-dimensional arrays
  • Explain for..in loop
To download the slides of HTML5-Session # 14, Click Here.


html5 - Session # 13

OBJECTIVES
  • Explain operators and their types in JavaScript
  • Explain regular expressions in JavaScript
  • Explain decision-making statements in JavaScript

 To download the slides of HTML5-Session # 13, Click Here.


html5 - Session # 12

OBJECTIVES
  • Explain scripting
  • Explain the JavaScript language
  • Explain the client-side and server-side JavaScript
  • List the variables and data types in JavaScript
  • Describe the JavaScript methods to display information
  • Explain escape sequences and built in functions in JavaScript
  • Explain events and event handling
  • Explain jQuery
  • Describe how to use the jQuery Mobile

To download the slides of HTML5-Session # 12, Click Here.



html5 - Session # 11

OBJECTIVES
  • Describe the need for multimedia in HTML5
  • List the supported media types in HTML5
  • Explain the audio elements in HTML5
  • Explain the video elements in HTML5
  • Explain the accessibility of audio and video elements
  • Describe how to deal with non-supporting browsers
To download the slides of HTML5-Session # 11, Click Here.


html5 - Session # 10

OBJECTIVES
  • Describe HTML5 forms
  • Explain the working of new input types in HTML5
  • Explain the new Form attributes
  • Explain the new Form elements
To download the slides of HTML5-Session # 10, Click Here.



Thursday, 3 July 2014

Marks of 1405B1

Students Final Marks for the Month of June 2014.

Student Name Total Rank
BASIT HUSSAIN QADRI 94.25 1
MUHAMMAD HUSSAIN 91.6667 2
SHAFAQ ALI MAZHAR 89.375 3
DANISH MANSOOR ALAM 89.125 4
IRMA BAIG 88 5
SYED ANAS QAMAR 86.25 6
MUHAMMAD WAQAR HASHMI 81.5833 7
SYED SAAD ALI 80.5417 8
UNAIZA SHAKEEL 79.625 9
DANISH AHMED FAROOQUE 78.875 10
MUHAMMAD MUEEZ SIDDIQUI 78.25 11
SYED MOIZ ALI 76.625 12
HASAN MUHAMMAD YOUSUF 74.3333 13
HAFIZ AFFAN BAIG 72.0417 14
HAFIZ M. JIBRAN NASEEM 71.7917 15
MUHAMMAD MUBEEN SHAHZAD 70.9167 16
SYED MUHAMMAD SHAHEER NAQVI 60.6667 17
SYED MUHAMMAD ALI 4.58333 18

Lecture # 12

Following Topics were covered in Twelfth  Lecture:
  • prompt, confirm, alert
  • Click on button for text

Example 1:

<!DOCTYPE html>
<html>
<head>

<script type="text/javascript">

prompt("What is your name?");
confirm("It will be closed now.");
alert("Its goona be closed now.");

</script>

</head>
</html>

Example 2:

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function papu() 
{
document.getElementById("demo").innerHTML = "Hello World";
}
</script>
</head>
<style>
p
{
 background-color:yellow;
 color:red;
}
</style>
<body>
<button onclick="papu()">Click me</button>
<p id="demo"> </p>
</body>

</html>

Lecture # 11

Following Topics were covered in Eleventh Lecture:
  • for loop
  • while loop
  • do-while loop

Example of for loop:

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
var num=prompt("Enter a number");

for (var i=1;i<11;i++)
{
 pro=num*i;
 document.write(num + " x " + i + " = " + pro);
 document.write("<br/>");
}
</script>

</head>
</html>

Example of while loop:

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
var num=prompt("Enter a number");
var i=1;
while(i<11)
{
 pro=num*i;
 document.write(num + " x " + i + " = " + pro);
 document.write("<br/>");
 i++;
}
</script>

</head>
</html>

Example of do-while loop:

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
var num=prompt("Enter a number");
var i=1;
do
{
 pro=num*i;
 document.write(num + " x " + i + " = " + pro);
 document.write("<br/>");
 i++;
}
while(i<11)
</script>

</head>
</html>

Lecture # 10

Following Topics were covered in Tenth Lecture:
  • JavaScript (Nested if)

Example 1:

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">

var name=prompt("Enter your name : ");

if (name=="talha")
 {
  prompt("Yes, he is the student of this class.");
 }
 else if (name=="umeir")
 {
  prompt("Yes, he is the student of this class.");
 }
 else if (name=="ammad")
 {
  prompt("Yes, he is the student of this class.");
 }
 else if (name=="owais")
 {
  prompt("Yes, he is the student of this class.");
 }
 else if (name=="irma")
 {
  prompt("Yes, she is the student of this class.");
 }
 else if (name=="shafaq")
 {
  prompt("Yes, she is the student of this class.");
 }
 else
 {
  prompt("he is not the student of my class.");
 }
</script>
</head>
</html>