Computer Science - I Past Paper PDF 2022

Summary

This is a past paper for Computer Science - I, covering topics such as pointers, arrays, data structures, and programming in C++. The paper includes multiple choice questions, written-answer questions, and coding exercises, suitable for 12th grade students.

Full Transcript

## Deep Suchak Date: 26/12/2022 SEAT NO: 201P III XX (E) Std.: 12 वी 2-82 Computer Science - I Time: 2 Hours (2 Pages) Max. Marks: 50 **1) Select the correct alternative and rewrite the following statement.** * Linux is a ______ software. * Public domain * Free * Paid * Private * D...

## Deep Suchak Date: 26/12/2022 SEAT NO: 201P III XX (E) Std.: 12 वी 2-82 Computer Science - I Time: 2 Hours (2 Pages) Max. Marks: 50 **1) Select the correct alternative and rewrite the following statement.** * Linux is a ______ software. * Public domain * Free * Paid * Private * Data items that are divided into sub items are called as______. * Group items * Elementary items * Notes * Arrays * Float *ptr: In above declaration, data type of ptr is ______ and data type of variable pointed by ptr is ______. * float, float * float, int * int, float * pointer, float * ______ tag is used to write the definition list. * <DLIST> * <OL> * <LI> * <DL> **Answer any two of the following.** 1. What is Memory Management? What are the services provided under it? 2. What is a pointer in C++? Give Suitable example 3. Write advantages and disadvantages of HTML. **Answer any two of the following.** 1. What are Pointer Arrays? Explain giving an example. 2. What is traversing an Array? Give the algorithm for Traversing of Linear Array. **What are different attributes of body tag in HTML?** **Answer any one of the following.** 1. What is class? Explain general form of Class Declaration. 2. What are the different methods by which virus can infect other program? **Answer any two of the following.** 1. Write two features of each of data structure. * Record * Arrary * Linked List 2. Write a short note on inline function. 3. What are COLSPAND AND ROWSPAN attribute? **Answer any one of the following.** 1. Explain 3 types of control structure used for flow of control. 2. Give the basic structure of HTML program state its any two advantages and disadvantages. **Q.4 A) Answer any two of the following.** 1. What is file system? List and explain types of file systems used in OS. 2. Write the size in bytes of following data types. * Float * Double * Short Int * Unsigned Int * Long Double * Char 3. What is an object? Describe how members of a class be accessed using object of that class. **B) Answer any one of the following.** 1. What is process scheduling? Explain scheduling objectives. 2. Explain Bubble sort algorithm with suitable example. **Q. 5 Solve any two of the following.** 1. Write a C++ program to accept a set of 10 numbers and print the numbers using pointers. 2. Write a C++ program to accept the string from the user and reverse a string. 3. Write HTML code for a webpage displaying the following table: YESTERDAY'S WEATHER City | High | Low | Wing ------- | -------- | -------- | -------- Mumbai | 33 | 24 | West Pune | 34 | 25 | South Latur | 32 | 20 | South **OR** **Solve any two of the following.** 1. Write a program in C++ to read a line of text and to count number of words in a text. 2. Write a program in C++ to find sum of first 100 natural Numbers. 3. Write the HTML code for the following table. Ind | Yuvraj | ------- | -------- 387 | 183* Eng | Sehwag | ------- | -------- 238 | 83 IND Win | Peterson ------- | -------- 1 ODI by | 58 149 | Bopara 49

Use Quizgecko on...
Browser
Browser