Skip to content
VUBuddy

CS310 Final Term MCQs

Open Source Web Application Development PDF 340 KBUpdated 23 Oct 2026
Final term past paper CS310 Final Term MCQs PDF 340 KB
vubuddy.com
Type
Final term past paper
Course
CS310 Open Source Web Application Development
Size
PDF 340 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 340 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2, 3 of 10. Download the file for all 10 pages.

Solved MCQ(S) · From FinalTerm Papers · BY Arslan · Jan 14, 2018 · V-U

Updated.

Final-Term Papers Solved MCQS with Reference

Q1. Which of the following are used to make decisions based on different conditions?

o Loops

o if statements Reference PPT Slides

o Functions o Arrays

Q2. What is the correct syntax of writing include statement in PHP from the followings?

o include 'filename'; Reference PPT Slides

o 'filename' include; o #Includes< > o #Include{ }

  1. The character that is used in format parameter string of date() function of PHP for representing the day of the month is:

o d Reference PPT Slides

o m o Y o l

  1. The character that is used in format parameter string of date() function of PHP for representing a month is: o d

o m Reference PPT Slides

o Y o 1

  1. A cookie is a small file that the server embeds on the ________.

o User's computer Reference PPT Slides

o File Server’s Hard drive o Database Server’s Hard drive o ISP

  1. Consider the following code given below:

for($i = 0; $i<4; $i++) echo “i = $i” ; How many times the above loop will be executed? o 2 o 3 o 4 o 5

Q7. Which of the following loop should be executed at least one time during the execution of loop?

  1. In which of the following loop, first the body of loop is executed and then condition is checked?.
  2. In PHP a session is started with the _________function.

o session_start() Reference PPT Slides

o start_session#() o start_PHP_session() o #session_start_this()

  1. In PHP Session variables are set with the PHP global variable _______. o ##_SESSION o %_SESSION

o $_SESSION Reference PPT Slides

  1. To destroy the session in PHP we use ________ o destroy();

o session_destroy(); Reference PPT Slides

o session_delete_this(); o session_destroy_current#();

  1. PHP Stands for __________________ .

o PHP Hypertext Preprocessor Reference PPT Slides

o Personal Hypertext Page o Power Home Page o Personal Hyper Preprocessor

All CS310 files →
CS310 Open Source Web Application Development All CS310 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.