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

Question Bank PHPmySQL-2024

This document is a question bank for the Bachelor of Commerce (Computer Application) program at Rashtrasant Tukadoji Maharaj Nagpur University, focusing on PHP and MySQL. It includes questions categorized into four units, covering topics such as PHP functions, error handling, form controls, and database management. Each unit contains questions of varying marks, designed to assess students' understanding of PHP and MySQL concepts.

Uploaded by

Nikshita Nimje
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Question Bank PHPmySQL-2024

This document is a question bank for the Bachelor of Commerce (Computer Application) program at Rashtrasant Tukadoji Maharaj Nagpur University, focusing on PHP and MySQL. It includes questions categorized into four units, covering topics such as PHP functions, error handling, form controls, and database management. Each unit contains questions of varying marks, designed to assess students' understanding of PHP and MySQL concepts.

Uploaded by

Nikshita Nimje
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR

BOARD OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA) OB (CBCS)
Course: BCCA – II (Semester – IV) Paper: 4T4 PHP &MySQL

Part - A
(Each question carries Two marks)
UNIT – I

1. Define PHP.
2. What is HTTP Protocol?
3. What is variable in PHP?
4. Enlist types of errors in PHP.
5. What is action in form control?
6. What is method in form control?
7. What is server Page?
8. What is client page?
9. What is echo()?
10. What is print()?
Part - B
(Each question carries Three marks)
UNIT – I

1. Differentiate between print and echo function.


2. Write characteristics of PHP.
3. What are the different types of comments in PHP?
4. Discuss the structure of PHP and write its basic syntax.
5. How the scripts can be executed in PHP?
6. What are constants? Explain with the help of a program.
7. Write a program for formatting numbers in PHP.
8. What is GET method in PHP?
9. How html tags can be sent to the browser?
10. Explain debugging in PHP.

1|P age
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR
BOARD OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA) OB (CBCS)
Course: BCCA – II (Semester – IV) Paper: 4T4 PHP & MySQL

Part - C
(Each question carries Five marks)
UNIT – I
1. Explain form control in detail with suitable example
2. Differentiate between Server Pages and Client Pages.
3. Discuss single quote and double quote in PHP.
4. Discuss about incrementing and decrementing a number in PHP.
5. Explain error reporting in PHP.
6. Explain the syntax of PHP program. Write a program to find square of 5.
7. Explain comparison operators in PHP.
8. Explain different debugging steps in PHP.

Part - C
(Each question carries Ten marks)
UNIT – I

1. Write a note on PHP, Explain How PHP Works in detail.


2. What is Variable? Explain different types of variables.
3. Explain super Global variable in PHP? Explain with example.
4. How will create an HTML form and connect it with PHP? Explain with example.
5. What is validation? Explain different types of validations in detail.
6. Explain various types of operators in PHP.
7. Explain GET and POST method in detail.

2|P age
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR
BOARD OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA) OB (CBCS)
Course: BCCA – II (Semester – IV) Paper: 4T4 PHP & MySQL

Part - A
(Each question carries Two marks)
UNIT – II
1. What is form control in PHP?
2. What is concatenating String in PHP?
3. What is new line feed in PHP?
4. What is decision making in PHP?
5. What is strcmp() in PHP?
6. What is strstr() in PHP?
7. What is strpos() in PHP?
8. What is array in PHP?
9. What is asort() in PHP?
10. What is ksort() in PHP?

Part – B
(Each question carries Three marks)
UNIT – II

1. Write a PHP program to concatenate two strings.


2. Explain any three string functions in PHP
3. Explain strtolower() and strtoupper()
4. Write a note on if... else statement?
5. Explain any three array functions?
6. What is nested if...else statement?
7. What is function in PHP?
8. What is library function in PHP?
9. What is empty() in PHP?
10.What is associative array in PHP?

3|P age
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR
BOARD OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA) OB (CBCS)
Course: BCCA – II (Semester – IV) Paper: 4T4 PHP &MySQL

Part - C
(Each question carries Five marks)
UNIT – II

1. What is function? Explain user defined function with example.


2. What is array? Explain associative array with example.
3. Write a note on switch statement in PHP.
4. Explain if... else statement. Write a program to even numbers from 1 to 100.
5. Explain for loop with example.
6. Explain array_splice () in PHP with example.
7. List and explain all sort functions in PHP.
8. Explain isset () function with example.
9. Explain any three super Global Variable with example.

Part - C
(Each question carries Ten marks)
UNIT – II

1. Explain in detail PHP conditional statement.


2. Explain different loops in PHP with proper example.
3. What is array? Explain different types of array in detail with example.
4. Discuss functions of array in detail.
5. Explain any five string functions with example.
6. Explain if…else statement in PHP with example.
7. Explain Switch statement with example.
8. Explain index array and associative array in detail.

4|P age
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR
BOARD OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA) OB (CBCS)
Course: BCCA – II (Semester – IV) Paper: 4T4 PHP & MySQL

Part - A
(Each question carries Two marks)
UNIT – III
1. What is a CSS template?
2. What is include in PHP?
3. What is require in PHP?
4. What is date function?
5. What is constants?
6. What is Y, y and n in date() function?
7. What is cookies in PHP?
8. What is session in PHP?
9. What is function call in PHP?
10. Create a function with return statement.

Part – B
(Each question carries Three marks)
UNIT – III

1. Write a note on template in PHP.


2. Write a note on mail () function.
3. How to set cookies in PHP?
4. Write a note on delete session in PHP.
5. Write a note on modify cookies in PHP.
6. What is session variable in PHP?
7. Write a note on delete cookies.
8. What is isset () function?
9. What is session_start () function?
10. What is htmlspecialchars () function?

5|P age
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR
BOARD OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA) OB (CBCS)
Course: BCCA – II (Semester – IV) Paper: 4T4 PHP/PHP/MySQL

Part - C
(Each question carries Five marks)
UNIT – III
1. Explain date function with five formatting character.
2. What is include statement explain with example.
3. What is require statement explain with example.
4. What is the difference between include and require statement?
5. How to send email in PHP? Explain with example.
6. Write note on cookies in PHP.
7. Write a note on session in PHP.
8. Explain time() function in PHP.

Part – C
(Each question carries Ten marks)
UNIT – III

1. Explain date function with 10 formatting characters.


2. Explain cookies management - create, modify and delete cookie with example.
3. Explain session management - create, modify and delete session with example.
4. What is function? Explain types of function in detail.
5. Explain in detail validation functions in PHP.
6. What is call by value and call by reference? Explain with example.
7. What is filter_var () function? Write a program to validate email-id with proper
message.

6|P age
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR
BOARD OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA) OB (CBCS)
Course: BCCA – II (Semester – IV) Paper: 4T4 PHP/PHP/MySQL

Part – A
(Each question carries Two marks)
UNIT – IV
1. What is file permission?
2. What is fopen() function?
3. What is fread() function?
4. What is fclose() function?
5. What is MySQL?
6. Enlist use of SQL in database management.
7. What is file locking?
8. Write down the syntax of create database command.
9. What is NULL in PHP/MySQL?
10. What is AUTO_INCREMENT in PHP/MySQL?

Part – B
(Each question carries Three marks)
UNIT – IV

1. What is GRANT command?


2. How to create database and table in PHP/PHP/MySQL?
3. Write down mysql_connect() function in PHP/MySQL?
4. Write down mysql_query() function in PHP/MySQL?
5. Write down msql_fetch_array() function PHP/MySQL?
6. Write down mysql_num_rows() function in PHP/MySQL
7. Write down the syntax and example insert command in PHP/MySQL.
8. Write down the syntax and example update command in PHP/MySQL.
9. Enlist file functions in PHP.
10. Write down the syntax and example delete command in PHP/MySQL.

7|P age
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR
BOARD OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA) OB (CBCS)
Course: BCCA – II (Semester – IV) Paper: 4T4 PHP/PHP/MySQL

Part - C
(Each question carries Five marks)
UNIT – IV
1. Explain How to insert values from table in PHP/MySQL.
2. Explain different data types in PHP/MySQL.
3. Explain How to delete values from table in PHP/MySQL.
4. Explain REVOKE command in PHP/MySQL.
5. Explain UPDATE Command in PHP/MySQL.
6. Explain REGEXP in PHP/MySQL.
7. Explain any three date function with example.
8. Write short note on any two:
1) Create table in MySQL
2) Modify table in MySQL
3) Delete table in MySQL

Part - C
(Each question carries Ten marks)
UNIT – IV

1. Explain PHP/MySQL privileges in detail.


2. Write a note on PHP/MySQL error handling.
3. Explain any five date functions in PHP/MySQL.
4. What is pattern matching in PHP/MySQL? Explain.
5. How to connect PHP with PHP/MySQL? Explain.
6. Explain the process of creating Table, deleting table in PHP/MySQL with a program.

8|P age

You might also like