PPSC Computer Science Topic 9 MCQ's Test Preparation

Are you worried about your PPSC computer science test and now you have reached Ilmkidunya while searching the helping content? Well, you are informed that you have reached the safest destination. This is because here the expert teachers and instructors have arranged the PPSC computer science mock test. This test is comprised of multiple-choice questions and follows the same pattern as you would face in the examination session. PPSC organizes several types of tests after a certain interval of time and the purpose to organize the competitive test is to sort out the suitable candidate for various vacant positions in the government departments throughout Punjab.

MCQ's Test For PPSC Computer Science Topic 9 PHP

Try The MCQ's Test For PPSC Computer Science Topic 9 PHP

  • Total Questions20

  • Time Allowed20

PPSC Computer Science Topic 9 PHP

00:00
Question # 1

Casting operator introduced in PHP 6 IS.

Question # 2

For integer data type PHP 6 introduced.

Question # 3

Which of the following are valid float values.

Question # 4

To work with remote files in PHP you need to enable.

Question # 5

Trace the odd data type

Question # 6

The difference between include ( ) and require()

Question # 7

When uploading a file if the UPLOAD_ERR-OK contains value 0 it means.

Question # 8

Which of the following method sends input to a script via a URL.

Question # 9

Which function includes the specified file even the statement evaluates to false in which block the function is placed.

Question # 10

Variable scope on which a variable does not loose its value when the function exists and use that value if the function is called again is.

Question # 11

Identify the variable scope that is not supported by PHP

Question # 12

f open ($file_doc."r+& rduo opens a file for.

Question # 13

Which data types are treaded as arrays.

Question # 14

Which of following commenting is supported by PHP

Question # 15

You can define a constant by using the define () function Once a constant is defined.

Question # 16

Which of the following delimiting method is known as string interpolation.

Question # 17

Which of the following mode of fopen () function opens a file only for writing if a file with that name does not exist, attempts to create a new file, If the file exist , place the file pointer at the end of the file after all other data.

Question # 18

Which of the following statement is more suitable if you want to output a blend of static text and dynamics information stored within one or several variables.

Question # 19

Which of the following function return 1 when output is successful.

Question # 20

Which of following are compound data type.

Prepare Complete Set Wise PPSC Computer Science Topic 9 PHP MCQs Online With Answers


Topic Test

00:00

Top Scorers Of PPSC Computer Science Topic 9 PHP MCQ`s Test

  • K
    K.b Wri8s 25 - Jul - 2024 00 Min 17 Sec 16/20
  • U
    Unknown 25 - Jul - 2024 03 Min 12 Sec 16/20
  • I
    Iqra Saher 31 - Jul - 2022 01 Min 32 Sec 15/20
  • R
    Rimsha Habib 17 - Dec - 2021 02 Min 15 Sec 12/20
  • A
    Aisha Tariq khan 29 - Dec - 2021 04 Min 28 Sec 10/20
  • A
    Abdur Rehman Riaz 04 - Sep - 2024 13 Min 18 Sec 8/20
  • G
    ggdc kk 25 - May - 2024 20 Min 06 Sec 8/20
  • S
    Sona 29 - Dec - 2024 03 Min 45 Sec 7/20
  • M
    M Usman 20 - Sep - 2023 09 Min 05 Sec 7/20
  • A
    Areesa Jee 16 - Dec - 2021 04 Min 20 Sec 6/20
  • A
    Abdul Ghaffar 22 - Jun - 2024 04 Min 24 Sec 6/20
  • M
    Muhammad Nasir 22 - Aug - 2022 04 Min 41 Sec 6/20
  • Z
    zain ali 17 - Jan - 2022 06 Min 02 Sec 6/20
  • G
    Ghulam Hussain 05 - Jan - 2022 02 Min 39 Sec 5/20
  • N
    Nargis Batool 02 - Jan - 2022 00 Min 45 Sec 4/20

PPSC ComputerScience Chapter 9 Important MCQ's

Sr.# Question Answer
1 Which of following commenting is supported by PHP
A. Single line c++syntax -ii
B. Shell syntax -#
C. Both of above
D. None
2 In mail ($param2, $ param 2, $param3, $param 4), the $param 2 contains.
A. The message
B. The recipient
C. The header
D. The subject
3 Which of the following mode of fopen () function opens a file only for writing if a file with that name does not exist, attempts to create a new file, If the file exist , place the file pointer at the end of the file after all other data.
A. W
B. W+
C. A
D. A+
4 f open ($file_doc."r+& rduo opens a file for.
A. reading
B. writing
C. both above
D. None
5 When uploading a file if the UPLOAD_ERR-OK contains value 0 it means.
A. Upload is not successful error occurred
B. The file uploaded with success
C. Uploaded file size is 0
D. File upload progress is 0% completed
6 Casting operator introduced in PHP 6 IS.
A. (array)
B. (in 64)
C. (real) or (double) or (float)
D. (object)
7 Which of the following delimiting method is known as string interpolation.
A. Delimited by single uote
B. Delimited by double uote
C. Delimited by <<< identifier
D. All of above
8 Which of the following is not true.
A. PHP can be used to develop web application
B. PHP makes a website dynamic
C. PHP applications can not be complied
D. PHP can not be embedded into html
9 You can define a constant by using the define () function Once a constant is defined.
A. It can never the changed of underdefined
B. It can never be changed but can be undefined.
C. It can be changed but can not be undefined
D. It can be changed and can be undefined
10 The left associative dot operator (0 is used in PHP for.
A. Multiplication
B. Concatenation
C. Separate object and its member
D. Delimeter

Test Questions

Is this page helpful?

Share your comments & questions here

Guest
  • No comments yet. Be the first to comment!