0% found this document useful (0 votes)
5 views

SEC-2-LabAssignment

The document outlines the practical examination structure for the Skill Enhancement Lab in Computer Application Hons at Ranchi University, detailing the marks distribution and requirements for assignments. It includes specific tasks for students to complete in HTML and PHP programming, such as creating HTML documents with various formatting options and developing PHP scripts for mathematical and string operations. The practical exam consists of four questions, of which students must answer two, with an emphasis on hands-on execution and written assignments.

Uploaded by

SANJEET KUMAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

SEC-2-LabAssignment

The document outlines the practical examination structure for the Skill Enhancement Lab in Computer Application Hons at Ranchi University, detailing the marks distribution and requirements for assignments. It includes specific tasks for students to complete in HTML and PHP programming, such as creating HTML documents with various formatting options and developing PHP scripts for mathematical and string operations. The practical exam consists of four questions, of which students must answer two, with an emphasis on hands-on execution and written assignments.

Uploaded by

SANJEET KUMAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

COMPUTER APPLICATION HONS.

CBCS CURRICULUM RANCHI UNIVERSITY


SKILL ENHANCEMENT LAB- SEC 2 LAB 15 Lectures

Marks : Pr (ESE: 3Hrs)=25 Pass Marks: Pr (ESE) = 10

Instruction to Question Setter for

Practical Examination (ESE)


There will be four questions in Practical Examination of 3Hrs. from SKILL ENHANCEMENT PAPER 2 (SEC2) out of
which any two are to be answered.

Lab: Student have to Answer the given questions on Answer booklet and execute the answered programs/steps in computer
with standard output.

Assignment: The Assignment should be hand written in A4 size paper. First three pages (i.e. front page + acknowledgment
+ index) & Bibliography may be printout.

Marks Distribution:

LAB(Experiment + Answer script) = 15 marks


Assignment =05 marks
Viva-voce =05 marks

SOFTWARE LAB BASED ON HTML:

Q1. Create an HTML document with the following formatting options:


I. Bold
II. Italics
III. III.Underline
IV. Headings (Using H1 to H6 heading styles)
V. Font (Type, Size and Color)
VI. Background (Colored background/Image in background)
VII. Paragraph
VIII. Line Break
IX. Horizontal Rule
X. Pre tag

Q2. Create an HTML document which implements Internal linking as well as External linking.
Q3. Create a table using HTML which consists of columns for Roll No., Student‘s name and grade.

Result
Roll No. Name Grade

Session 2019-22 Onwards


33
COMPUTER APPLICATION HONS. CBCS CURRICULUM RANCHI UNIVERSITY
Q4. Create a Table with the following view:

Q5. Create an HTML document which consists of:


I. Ordered List
II. Unordered List
III. Nested List
IV. Image

Session 2019-22 Onwards


34
COMPUTER APPLICATION HONS. CBCS CURRICULUM RANCHI UNIVERSITY

Q. 6.Create a form using HTML which has the following types of controls:
I. Text Box
II. Option/radio buttons
III. Check boxes
IV. Reset and Submit buttons

Q.7 Create HTML documents (having multiple frames) in the following formats:

FRAME 1

FRAME 2

FRAME 1

FRAME 2 FRAME 3

Session 2019-22 Onwards


35
COMPUTER APPLICATION HONS. CBCS CURRICULUM RANCHI UNIVERSITY

SOFTWARE LAB BASED ON PHP PROGRAMMING:


1. Create a PHP page using functions for comparing three integers and print the largest number.
2. Write a function to calculate the factorial of a number (non-negative integer). The function
accept the number as an argument.
3. WAP to check whether the given number is prime or not.
4. Create a PHP page which accepts string from user. After submission that page displays the
reverse of provided string.
5. Write a PHP function that checks if a string is all lower case.
6. Write a PHP script that checks whether a passed string is palindrome or not? ( A palindrome is
word, phrase, or sequence that reads the same backward as forward, e.g., madam or nurses run)
7. WAP to sort an array.
8. Write a PHP script that removes the whitespaces from a string.
a. Sample string : 'The quick " " brown
b. fox' Expected Output :
c. Thequick""brownfox
9. Write a PHP script that finds out the sum of first n odd numbers.
10. Create a login page having user name and password. On clicking submit, a welcome message
should be displayed if the user is already registered (i.e.name is present in the database)
otherwise error message should be displayed.
11. Write a simple PHP program to check that emails are valid
--------------------------------------------------------------------------------------------------------------------------

Session 2019-22 Onwards


36

You might also like