Programming MCQs Feed

📊 PHP
Q. what is the output of below program?
Code:
<?php
$a = 0;

if($a = $a +1 )
{
   echo "Sun";   
}
else
{
   echo "Moon";
}
?>
  • (A) Error
  • (B) Moon
  • (C) Sun
  • (D) Sun Moon
💬 Discuss
✅ Correct Answer: (C) Sun
📊 Microsoft Word
Q. Formatting is performed on
  • (A) Text
  • (B) Table
  • (C) Menu
  • (D) Both (a) and (b)
💬 Discuss
✅ Correct Answer: (D) Both (a) and (b)
📊 Microsoft Word
Q. What is the shortcut key you can press to create a copyright symbol?
  • (A) Ctrl + Shift + C
  • (B) Ctrl + C
  • (C) Alt + C
  • (D) Alt + Ctrl + C
💬 Discuss
✅ Correct Answer: (D) Alt + Ctrl + C
📊 Microsoft Word
Q. What is a Document Outline View?
  • (A) A view with a structure of heading at various levels
  • (B) A View with a margins and gutter
  • (C) A preview with margins
  • (D) A preview in a full screen
💬 Discuss
✅ Correct Answer: (A) A view with a structure of heading at various levels
📊 Microsoft Word
Q. With Word’s AutoCorrect entries, to display an indifferent face ( ?? ) type _________.
  • (A) : /
  • (B) : |
  • (C) : (
  • (D) : )
💬 Discuss
✅ Correct Answer: (B) : |
📊 Microsoft Access
Q. This query wizard will create a select query.
  • (A) Crosstab
  • (B) Design view
  • (C) Find duplicates
  • (D) Simple
💬 Discuss
✅ Correct Answer: (D) Simple
📊 Microsoft Access
Q. Which of the following queries can create a table?
  • (A) Append
  • (B) Delete
  • (C) Make-Table
  • (D) Update
💬 Discuss
✅ Correct Answer: (C) Make-Table
📊 Python
Q. What will be the output of the following Python expression?
Code:
print(4.00/(2.0+2.0))
  • (A) Error
  • (B) 1.0
  • (C) 1.00
  • (D) 1
💬 Discuss
✅ Correct Answer: (B) 1.0
📊 MS Dos
Q. Which DOS command will format a floppy disk and transfer the system files
  • (A) SYS C: A:
  • (B) SYS A:
  • (C) FORMAT A: /S
  • (D) FORMAT A: /T
💬 Discuss
✅ Correct Answer: (C) FORMAT A: /S
📊 Microsoft Excel
Q. In Microsoft Excel spreadsheets, rows are labelled as _______
  • (A) 1,2,3,…..
  • (B) A,B,C,….
  • (C) A1,B1,C1….
  • (D) I,II,III,…..
💬 Discuss
✅ Correct Answer: (A) 1,2,3,…..