CS Knowledge Opener - Logo
CS Knowledge
Opener
Facebook Youtube Telegram
  • Home
  • 12th CS
    • 12th CS English Medium
    • 12th CS Tamil Medium
  • 12th CA
    • 12th CA English Medium
    • 12th CA Tamil Medium
  • 11th CS
    • 11th CS English Medium
    • 11th CS Tamil Medium
  • 11th CA
    • 11th CA English Medium
    • 11th CA Tamil Medium
  • CS / CA Question Bank
  • Other Subjects
  • Student Alerts
  • Govt Exams
  • Home
  • 12th CS
    • 12th CS English Medium
    • 12th CS Tamil Medium
  • 12th CA
    • 12th CA English Medium
    • 12th CA Tamil Medium
  • 11th CS
    • 11th CS English Medium
    • 11th CS Tamil Medium
  • 11th CA
    • 11th CA English Medium
    • 11th CA Tamil Medium
  • CS / CA Question Bank
  • Other Subjects
  • Student Alerts
  • Govt Exams
CS Knowledge Opener - Logo
CS Knowledge
Opener
Facebook Youtube Telegram
  • Home
  • 12th CS
    • 12th CS English Medium
    • 12th CS Tamil Medium
  • 12th CA
    • 12th CA English Medium
    • 12th CA Tamil Medium
  • 11th CS
    • 11th CS English Medium
    • 11th CS Tamil Medium
  • 11th CA
    • 11th CA English Medium
    • 11th CA Tamil Medium
  • CS / CA Question Bank
  • Other Subjects
  • Student Alerts
  • Govt Exams
  • Home
  • 12th CS
    • 12th CS English Medium
    • 12th CS Tamil Medium
  • 12th CA
    • 12th CA English Medium
    • 12th CA Tamil Medium
  • 11th CS
    • 11th CS English Medium
    • 11th CS Tamil Medium
  • 11th CA
    • 11th CA English Medium
    • 11th CA Tamil Medium
  • CS / CA Question Bank
  • Other Subjects
  • Student Alerts
  • Govt Exams
12th CA English Medium

12th Computer Applications Public Exam Important Program Question 2023

Baskaran J
January 24, 2023 2 Mins Read
4.4K Views
0 Comments

12th Computer Applications Public Exam Important Program Question

  • Hi students we post 12th Computer Applications Public Exam Important Program Question 2023.
  • This post is helpful for you to attend the programming questions and to get centum in board exams.

In PHP programming questions are covered under the topics,

  1.  Function
  2. Conditional Statements
  3. Looping Structure
  4. Database
  5. MySQL

Model Programs:

  1. What will be the output of the following PHP code?

<?php

function sum($x, $y) {

$z = $x + $y;

return $z;

}

echo “5 + 10 =” . sum(5, 10) . “<br>”;

echo “7 + 13 =” . sum(7, 13) . “<br>”;

echo “2 + 4 =”. sum(2, 4);

?>

  1. What will be the output of the following PHP code?

<?php

function insertMsg()

{

echo “Student Details Inserted Successfully!”;

}

insertMsg();

?>

  1. What will be the output of the following PHP code?

<?php

$student=array

(

array(“Iniyan”,100,96),

array(“Kavin”,60,59),

array(“Nilani”,1313,139)

);

echo $$student[0][0].”: Tamil Mark: “.$student [0][1].”. English mark: “.$student [0][2].”<br>”;

echo $$student[1][0].”: Tamil Mark: “.$student [1][1].”. English mark: “.$student [1][2].”<br>”;

echo $$student[2][0].”: Tamil Mark: “.$student [2][1].”. English mark: “.$student [2][2].”<br>”;

?>

  1. What will be the output of the following PHP code?

<?php

$x;

if ($x)

print “hi”;

else

print “how are u”;

?>

  1. What will be the output of the following PHP code?

<?php

$x = 0;

if ($x++)

print “hi”;

else

print “how are u”;

?>

  1. What will be the output of the following PHP code?

<?php

$x;

if ($x == 0)

print “hi”;

else

print “how are u”;

print “hello”;

?>

  1. What will be the output of the following PHP code?

<?php

$a = “”;

if ($a)

print “all”;

if ______

else

print “some”;

?>

  1. What will be the output of the following PHP code ?

<?php

$a = ” “;

if ($a)

print “all”;

else

print “some”;

?>

  1. What will be the output of the following PHP code ?

<?php

$x = 10;

$y = 20;

if ($x > $y + $y != 3)

print “hi” ;

else

print “how are u”;

?>

  1. What will be the output of the following PHP code ?

<?php

$x = 10;

$y = 20;

if ($x > $y && 1||1)

print “hi”;

else

print “how are u”;

?>

The pdf is given below. Kindly download and make it useful.

[pdf-embedder url=”https://csknowledgeopener.com/wp-content/uploads/2023/01/XII-CA-EM-PROGRAM-QUESTION-2022-2023.pdf” title=”XII – CA EM PROGRAM QUESTION 2022-2023″]

Tags:

Question Bank

Share Article

Follow Me Written By

Baskaran J

Other Articles

Previous

Puducherry LDC Previous Year Question Paper 2012

Next

11th Computer Science Public Exam Important Program Question 2023

Next
January 26, 2023

11th Computer Science Public Exam Important Program Question 2023

Previous
January 22, 2023

Puducherry LDC Previous Year Question Paper 2012

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

18 + two =

Related Posts

12th CA Board Exam Answer Key Discussion 2024-2025

Baskaran J
March 14, 2025

12th Computer Applications English medium Program Question 2024-2025

Baskaran J
February 23, 2025

12th Computer Applications Practice One marks question 2024-2025

Baskaran J
February 3, 2025

12th Computer Applications English medium Public Exam Important Question 2024-2025

Baskaran J
January 16, 2025

Subscribe to our newsletter and stay updated.

CS Knowledge Opener

CS Knowledge Opener focuses on 11th &12th Computer Science & Computer Applications English Medium & Tamil Medium. Programming Skills and also we are Publishing Study Materials Based on New syllabus introduced by TNSCERT. (TNBOARD).

Quick Links

  • Contact Us
  • About Us
  • Privacy Policy
  • Disclaimer
  • Terms and Conditions
Categories
11th CA English Medium 15
11th CA Tamil Medium 9
11th CS English Medium 21
11th CS Tamil Medium 12
12th CA English Medium 32
12th CA Tamil Medium 8
12th CS English Medium 36
12th CS Tamil Medium 12
Government Exams 36
Notifications 8
Other Subjects 13

Follow Us

Youtube
Facebook
Telegram
CS Knowledge Opener © 2020 - 2025. All Rights Reserved.