Cacpa 2024
Cacpa 2024
CACPA
TIME : 1 hr 15 mins F.M. = 100
Q. A. ATTEND ALL THE QUESTIONS IN THIS SECTION: 1 x 60 = 60
(ANSWER THE CORRECT OPTION)
1. The basic operations performed by a computer are
A) Arithmetic operation B) Logical operation C) Storage and relative D) All the above
2. Computer is free from tiresome and boredom. We call it
A) Accuracy B) Reliability C) Diligence D) Versatility
3. Which of the following is not an input device?
A) OCR B) Optical scanners C) Voice recognition device D) COM (Computer Output to Microfilm)
4. Software in computer
A) Enhances the capabilities of the hardware machine B) Increase the speed of central processing unit
C) Both A and B D) None of above
5. Abacus was the first
A) Electronic computer B) Mechanical computer C) Electronic calculator D) Mechanical calculator
6. The word processing task associated with changing the appearance of a document is
A) Editing B) Writing C) Formatting D) All of above
7. The term gigabyte refers to
A) 1024 bytes B) 1024 kilobytes C) 1024 megabytes D) 1000 gigabytes
8. In Windows, start button is used to
A) Run applications B) Device setting C) Turn off the system D) All of above
9. The Basic Input Output System (BIOS) resides in
A) RAM B) ROM C) The CPU D) Memory Cache
10. Recently deleted files are stored in
A) Recycle bin B) Desktop C) Taskbar D) My computer
11. The date and time displays on
A) Taskbar B) Status bar C) System tray D) Launch pad
12. Which runs on computer hardware and serve as platform for other software to run on?
A) Operating System b) Application Software C) System Software D) All
13. Integrated Circuits (IC) are related to which generation of computers?
A) First generation B) Second generation C) Third generation D) Fourth generation
14. Which generation of computer is still under development
A) Fourth Generation B) Fifth Generation C) Sixth Generation D) Seventh Generation
15. The arranging of data in a logical sequence is called
A) Sorting B) Classifying C) Reproducing D) Summarizing
16. Algorithm and Flow chart help us to
1
A) Know the memory capacity B) Identify the base of a number system C) Direct the output to a
printer D) Specify the problem completely and clearly
17. From which menu you can insert Header and Footer?
(A) Insert Menu (B) View Menu (C) Format menu (D) Tools Menu
18. Which option from clipboard is used to move data from one place to another in a document.
(A) Copy & Paste (B) Cut & Paste (C) Bold (D) Justify
19. ____________ is used to covert from upper case to lower case and vice versa.
(A) Toggle case (B) Sentence case (C) Lower case (D) Upper case
20. The keystrokes Ctrl + i is used to
(A) Increase font size (B) Inserts a line break (C) Indicate the text should be bold (D) Applies italic format to
selected text
21. Which of the following is not a type of page margin?
(A) Left (B) Right (C) Center (D) Top
22. Portrait and Landscape are
(A) Page Orientation (B) Paper Size (C) Page Layout (D) All of above
23. Which of the following is not a valid data type in Excel?
(A) Number (B) Character (C) Label (D) Date/Time
24. Which symbol must all formula begin with?
(A) = (B) + (C) ( (D) @
25. Which of the following formulas is not entered correctly?
(A) =10+50 (B) =B7*B1 (C) =B7+14 (D) 10+50
26. Which area in an excel window allows entering values and formulas
(A) Title bar (B) Menu bar (C) Formula bar (D) Standard toolbar
27. An excel workbook is a collection of
(A) Workbooks (B) Worksheets (C) Charts (D) Pages
28. Special effects used to introduce slides in a presentation are called
(A) effects (B) custom animations (C) transitions (D) present animations
29. Which menu provides you options like Animation Scheme, custom Animation, Slide Transition?
(A) Insert Menu (B) Format Menu (C) Tools Menu (D) Slide Show Menu
30. In a PowerPoint presentation
(A) Sound clips can be inserted but not movie clips (B) Movie clips can be inserted but not sound clips (C)
Both cannot be inserted (D) Both can be inserted
31. Microsoft PowerPoint is a
(A) Database program (B) Spreadsheet program (C) Presentation program (D) Word processing program
32. The best way to insert a new slide in a presentation is to use the
(A) Normal view (B) Special view (C) Slide show view (D) Slide sorter view
33. Which of the following are tokens in C?
a.) Keywords b) Constants c) Variables d) All of above
34. Which escape sequence character is a line terminator?
2
a.) \a b.) \b c.) \m d.) \n
35. The maximum size of ‘float’ variable is ________________.
a.) 1 byte b.) 2 bytes c.) 4 bytes d.) 8 bytes
36. The operator & is used for _________.
a.) Bitwise AND b.) Pointer to the variable c.) Logical AND d.) None of these
37. a+=4 means ____________.
a.) a=a+4 b.) a=4 c.) a+4=a d.) a=4+4
38. Header files in C contain ___________.
a.) Compiler Commands b.) Header information of C Programs c.) Library functions d.) Operators for
files
39. Which header file is essential for using strcmp() function.?
a.) string.h b.) text.h c.) strings.h d.) strcmp.h
40. In C language ‘a’ represents ______________________.
a.) a digit b.) a character c.) an integer d.) a word
41. What would be the value of X after execution of the following statements?
int x,y=10;
char z=’a’;
x=y+z;
a.) Invalid b.) 107 c.) 17 d.) 10a
42. Which symbols used to define an array?
a.) [ ] b.) { } c.) < > d.) ( )
43. Which of the following are the fundamental building block of a python program.
a) Identifier b) Constant c) Punctuators d) Tokens
44. What is the order of precedence in python?
a) Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
b) Exponential, Parentheses, Division, Multiplication, Addition, Subtraction
c) Parentheses, Exponential, Multiplication, Division, Subtraction, Addition
d) Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
45. Who developed Python Programming Language?
a) Wick van Rossum b) Rasmus Lerdorf c) Guido van Rossum d) Niene Stom
46. What will be the value of the following Python expression?
4+3%5
a) 7 b) 2 c) 4 d) 1
47. Which of the following character is used to give single-line comments in Python?
a) // b) # c) ! d) /*
48. What does pip stand for python?
a) Pip Installs Python b) Pip Installs Packages c) Preferred Installer Program d) All of the mentioned
49. What will be the output of the following Python expression if x=56.236?
print("%.2f"%x)
3
a) 56.236 b) 56.23 c) 56.0000 d) 56.24
50. What is the full form of SQL?
a) Structured Query List b) Structure Query Language c) Sample Query Language d) None of these.
4
3. What will be the output of the following Python code?
i=1
while True:
if i%3 == 0:
break
print(i)
i+=1
a) 1 2 3 b) error c) 1 2 d) none of the mentioned
1. Write a Python program that calculates the area of a circle based on the radius entered by the user.
2. Write a Python program that displays your name, age, and address on three different lines.
3. Write a Python program to convert all units of time into seconds.
4. Write a C program to compute the perimeter and area of a rectangle with a height of 7 inches and width of
5 inches.
5.Write a C program to convert specified days into years, weeks and days.
(Note: Ignore leap year.)
6. Write a C program that accepts three integers and finds the maximum of three.