Skip to main content

Posts

Php lab

 EX.NO: 1 DATE : NAVIGATION AIM: To write a program to design a web page with links to different pages and allow navigation between web pages. PROGRAM: <html> <head> <title>Navigation bar</title> </head> <body> <h1>PHP PROGRAM</h1> <?php if(isset($_GET['page'])){ $page=$_GET['page']; if($page==='factorial'){ include('factorial.php');} elseif($page==='prime'){ include('prime.php');} if($page==='valid mail'){ include('valid mail.php');}} ?> <hr> <h3>NAVIGATION</h3> <ul><li><a href="factorial.php?page=home">FACTORIAL</a></li> <li><a href="prime.php?about">PRIME NUMBER</a></li> <li><a href="valid mail.php?page=contact">VALID MAIL<a></li></ul> </body> </html> ......... EX.NO: 2 DATE : REGISTRATION AIM: To Write a program to design a...
Recent posts

DBMS LAB

AIM: To write a sql program in ddl commands. PROGRAM: SQL> create table student(stid number, stname varchar(15), staddr varchar(15), stmob number(15)); Table created. SQL> desc student; Name Null? Type ----------------------------- -------- ------------------------ STID NUMBER STNAME VARCHAR2(15) STADDR VARCHAR2(15) STMOB NUMBER(15) SQL> alter table student add stmark number; Table altered. SQL> desc student; Name Null? Type --------------------------------- -------- -------------------- STID NUMBER STNAME VARCHAR2(15) STADDR VARCHAR2(15) STMOB NUMBER(15) STMARK NUMBER SQL> alter table student rename to student_info; Table altered. SQL> desc student; ERROR: ORA-04043: object student does not exist SQL> desc student_info; Name Null? Type -------------------------------- -------- ---------------- STID NUMBER STNAME VARCHAR2(15) STADDR VARCHAR2(15) STMOB NUMBER(15) STMARK NUMBER SQL> drop table student_info; Table dropped. SQL> desc student_info; ERROR: ORA-04...

Iwd only 8 pdf 😉(👈 click seiyavum)

 demonstrate the calculator program. Program : <html> <body> <script> const operator = prompt('Enter operator to perfome the calculation(either+,-,* or/):');  const number1 = parseFloat(prompt('Enter the first number:'));  const number2 = parseFloat(prompt('Enter the second number:'));  let result;  if(operator =='+') { result = number1+number2; } else if(operator =='-') { result = number1-number2; } else if(operator =='*') { result = number1*number2; } else { result=number1/number2; } window.alert("Result is"+result); </script> </body> </html> OUTPUT : Result : The given program is executed successfully. Ex no : 2 Date : FACTORIAL Aim: To demonstrate the factorial program. Program : <html> <body style="text align:center;font-size:20px;"> <h1>welcome to department of BCA</h1> <h1>FACTORIAL NUMBER</h1> enter the num...

IWD pratical full pdf (padika mattum use pannvum 😏)

S.NO DATE PROGRAM NAME PAGE NO SIGNATURE  1   Calculator   2 Factorial   3 Fibonacci Series   4 Prime Number   5 Semantics   6 Different Styles   7 Validation   8 Adding Multimedia   9 Formatting Tag   10 Style Sheet   11 Table Tag   12 Links   13 Input Controls   14 Sum Of Digits   15 Number Of Words   16 Image Maps   Ex no : 1 Date :          CALCULATOR   Aim:  To demonstrate the calculator program.  Program :  <html>  <body> <script>  const operator = prompt('Enter operator to perfome the calculation(either+,-,* or/):'); const number1 = parseFloat(prompt('Enter the first number:')); const number2 = parseFloat(prompt('Ent...

msl lab

  SYEDAMMALARTSANDSCIENCECOLLEGE   DEPARTMENTOFINFORMATIONTECHNOLOGY   (AffiliatedtoAlagappa University)   (NAACAccredited with BGrade)           Certified a bonafide record of practical work done on   23BCEAP3 – MARKUP   AND SCRIPTING LANGUAGE LAB by                                                                 Reg.No.________________    Of   B.Sc.(InformationTechnology) –Iyear during    II Semester   APRIL-2025.               Head of the Department   ...