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 Half yearly exam Program Question pdf 2022-2023

Baskaran J
December 22, 2022 One Min Read
783 Views
0 Comments

12th Computer Applications English Medium Half yearly Program Question

Here we given some example 12th Computer Applications half yearly program questions.

  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”;

?>

[pdf-embedder url=”https://csknowledgeopener.com/wp-content/uploads/2022/12/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

12th Computer Applications interior Question pdf 2022-2023 for English medium

Next

11th Computer Science Half yearly exam important program question PDF 2022-2023

Next
December 27, 2022

11th Computer Science Half yearly exam important program question PDF 2022-2023

Previous
December 22, 2022

12th Computer Applications interior Question pdf 2022-2023 for English medium

No Comment! Be the first one.

Leave a Reply Cancel reply

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

twenty − six =

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.