BCA Web Programming Using PHP Exam November 2022
8 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What does CSS stand for?

  • Contemporary Style Sheets
  • Creative Style Sheets
  • Computer Style Sheets
  • Cascading Style Sheets (correct)

Which method is used in JavaScript to output data to a document?

  • document.output
  • document.write
  • write.data
  • document.writeln (correct)

What is one disadvantage of using frames in web design?

  • Can lead to poor SEO (correct)
  • Supports multimedia content
  • Increases loading speed
  • Enhances user navigation

Which function in PHP is used to return a part of a string?

<p>subStr() (C)</p> Signup and view all the answers

Which of the following is a characteristic of a dynamic website?

<p>Data is displayed from a database (C)</p> Signup and view all the answers

What is the purpose of AJAX in web development?

<p>To make web pages interactive and asynchronous (A)</p> Signup and view all the answers

Which event in JavaScript occurs when an object loses focus?

<p>onBlur (A)</p> Signup and view all the answers

Which operator is used in a conditional statement to test for equality in PHP?

<p>== (A)</p> Signup and view all the answers

Flashcards

CSS Definition

Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation of a document written in HTML or XML.

HTML5 Data List

A HTML5 element that provides a list of suggestions for input.

Client-Side Programming

JavaScript is a common language for implementing client-side logic.

PHP writeln()

A PHP language construct for writing lines of output, functionally equivalent to echo().

Signup and view all the flashcards

Web Server

A computer system that delivers content, such as web pages, to users' web browsers.

Signup and view all the flashcards

User-Defined Function in PHP

Custom functions in PHP for reuse of code, enhanced code structure, and modularization.

Signup and view all the flashcards

PHP String Substring Function

A PHP function to extract a portion of a string.

Signup and view all the flashcards

Static vs. Dynamic Websites

Static websites have fixed content, while dynamic websites change based on input or database information.

Signup and view all the flashcards

Study Notes

Web Programming Using PHP Exam

  • FIFTH SEMESTER: CBCSS-UG Degree Examination, November 2022, BCA
  • Course: BCA/BCS 5B 09 - Web Programming Using PHP
  • Exam Duration: Two Hours
  • Total Marks: 60
  • Admission Year: 2019 onwards

Section A - Short Answer Type Questions

  • CSS Definition: Defined (briefly)
  • HTML5 Data Lists: Description of datalist element in HTML5
  • Frames in Programming: How to create frames, disadvantages of frames
  • Client-Side Programming: Explanation of Client-Side Programming
  • JavaScript writeln: Method to use writeln in JavaScript, with examples
  • JavaScript Integer Extraction: Method to extract first integer from a string, with example
  • Web Servers: Definition of a web server
  • User-Defined Functions in PHP: How to create user-defined functions in PHP, explanation
  • String Part Extraction in PHP: PHP function for extracting parts of a string, syntax and parameters
  • PostgreSQL Features: Key features of PostgreSQL database
  • PHP Array Function pg_fetch_array: Explanation of pg_fetch_array() function, with an example
  • AJAX: Definition, and uses of AJAX
  • AJAX in Detail: More details on AJAX (if available in the material)

Section B - Short Essay Type Questions

  • Static vs. Dynamic Websites: Differences between static and dynamic website development
  • GET and POST Methods: Explanation of GET and POST methods, with suitable PHP examples

Section C - Essay Type Questions

  • JavaScript Global Functions: Built-in global functions, with examples
  • Basic Data Types: Different basic data types in JavaScript
  • PHP Query Creation and Data Retrieval: How to create a query in PHP, fetch data from dataset, discussion of four fetching functions in detail, with examples
  • PHP Events: onLoad, onBlur, and onClick JavaScript events and examples.
  • do...while Construct: How to use do...while, explanation and example program to find first five prime numbers
  • PHP Array Functions: Five key PHP array functions with suitable examples
  • Conditional Statements in PHP: Explanation and example of if-else statements and conditional operators
  • PHP Looping Statements (e.g., for, while, etc.): Explanation and examples of different looping statements

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Description

Prepare for your BCA fifth semester examination with this quiz focused on Web Programming Using PHP. It covers essential topics like CSS, HTML5 data lists, client-side programming, and PHP functions. Test your knowledge and understanding before the two-hour exam.

More Like This

PHP Programming Fundamentals
1 questions

PHP Programming Fundamentals

ExemplarySerpentine5664 avatar
ExemplarySerpentine5664
Web Development Lecture 9: PHP Loops and Functions
5 questions
Introduction to PHP Programming
10 questions
Introduction to PHP Programming
10 questions
Use Quizgecko on...
Browser
Browser