You are on page 1of 1

GOVERNMENT POLYTECHNIC AMBAD

Department Of Computer Engineering

Class Test – I
Subject & Code : WBP ( 22619 ) Max. Marks: 20
Class : CO6I Time : 2.00 PM to 3.00 PM
Date : 27/03/2023 Academic Year 2022-2023

Instructions – i. All Questions are compulsory.


ii. Illustrate your answers with neat sketches whenever necessary.
iii. Assume suitable data if necessary.

Sr. No. Questions Marks CO Bloom Level

Q 1. Attempt any Four of the following. [2*4=08M] - -

a) Explain rules for declaring variable in PHP 2 1 Understand

b)
Enlist types of Array in PHP. 2 2 Remember

c) Write syntax of PHP and Give an example.


2 1 Understand

d) Define a function. Write a program on user defined function. 2 2 Remember

e) Write a program to create associative array in PHP. 2 2 Apply

f) Explain Ternary Operator with an example 2 1 Understand

Q 2. Attempt any Three of the following. [4*3=12M] - -

Differentiate between break and continue statement with an


a) 4 1 Remember
example.
Explain any two string function with syntax and example
b) 4 2 Understand
1)strtolower 2)strops() 3)strlen()
Write a program to print even number upto 10 and sum of
c) 4 1 Apply
them.
Differentiate between implode() and explode() statement
d) 4 2 Understand
with an example.

You might also like