View note:Computer-Science-2018



Questions of this subject!.

QuestionLikes!Dislikes!Answers!
1)(a) Write the type of C++ tokens (keywords and user defined identifiers) from the following : 2 (i) else (ii) Long (iii) 4Queue (iv) _count (Computer-Science-2018)

001
2)The following C++ code during compilation reports errors as follows : (Computer-Science-2018)

001
3)Rewrite the following C++ code after removing any/all syntactical errors with each correction underlined. 2 Note : Assume all required header files are already included in the program. (Computer-Science-2018)

001
4)(d) Find and write the output of the following C++ program code : 3 Note : Assume all required header files are already included in the program. (Computer-Science-2018)

001
5)Find and write the output of the following C++ program code : 2 Note : Assume all required header files are already included in the program. (Computer-Science-2018)

001
6)Which function(s) out of the following can be considered as overloaded function(s) in the same program ? (Computer-Science-2018)

001
7)Observe the following C++ code and answer the questions (Computer-Science-2018)

001
8)Write Statement 1 and Statement 2 to execute Member Function 1 and Member Function 2 respectively using the object S. (Computer-Science-2018)

001
9)Let us assume Data[20][15] is a two-dimensional array (Computer-Science-2018)

001
10)Convert the following Infix expression to its equivalent Postfix expression, showing the stack contents for each step of conversion : U * V + (W – Z) / X (Computer-Science-2018)

001
11)A text file named MATTER.TXT contains some text, which needs to be displayed (Computer-Science-2018)

001
12)Differentiate between Syntax Error and Run-Time Error. Also, write a suitable example in Python to illustrate both. (Computer-Science-2018)

001
13)Differentiate between Syntax Error and Run-Time Error. Also, write a suitable example in Python to illustrate both. (Computer-Science-2018)

001
14)Name the Python Library modules which need to be imported to invoke the following functions : 1 (i) sin() (ii) search() (Computer-Science-2018)

001
15)Rewrite the following code in Python after removing all syntax error(s). Underline each correction done in the code (Computer-Science-2018)

001
16)Find and write the output of the following Python code : 2 (Computer-Science-2018)

001
17)Find and write the output of the following Python code : (Computer-Science-2018)

002
18)What is the advantage of super( ) function in inheritance ? Illustrate the same with the help of an example in Python. (Computer-Science-2018)

001
19)Answer the questions (i) to (iv) based on the following : (Computer-Science-2018)

001
20)Show the content of the list after the First, Second and Third pass of the bubble sort method used for arranging in ascending order ? (Computer-Science-2018)

001
21)Write the definition of a method ZeroEnding(SCORES) to add all those values in the list of SCORES, which are ending with zero (0) and display the sum (Computer-Science-2018)

001
22)Write AddClient(Client) and DeleteClient(Client) methods in Python(Computer-Science-2018)

001
23)Write a definition of a method COUNTNOW(PLACES) to find and display those place names, in which there are more than 5 characters. (Computer-Science-2018)

001
24)Evaluate the following Postfix notation of expression : (Computer-Science-2018)

001
25)Write a statement in Python to open a text file STORY.TXT so that new contents can be added at the end of it. (Computer-Science-2018)

001
26)Write a method in Python to read lines from a text file INDIA.TXT, to find and display the occurrence of the word ‘‘India’’. (Computer-Science-2018)

001
27)Differentiate between Bus Topology and Star Topology of Networks. What are the advantages and disadvantages of Star Topology over Bus Topology ? (Computer-Science-2018)

001
28)Classify each of the following Web Scripting as Client Side Scripting and Server Side Scripting : 2 (i) Java Scripting (ii) ASP (iii) VB Scripting (iv) JSP (Computer-Science-2018)

001
29)Write the expanded names for the following abbreviated terms used in Networking and Communications : 2 (i) SMTP (ii) VoIP (iii) GSM (iv) WLL (Computer-Science-2018)

001
30)State any one Absorption Law of Boolean Algebra and verify it using truth table(class 12 computer science cbse 2018)

001
31)Draw the Logic Circuit of the following Boolean Expression : 2 (Uj + V).(Vj + Wj) (class 12 computer science 2018)

001
32)Derive a Canonical POS expression for a Boolean function FN, represented by the following truth table : 1 X Y Z FN(X,Y,Z) 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 (class 12 computer science CBSE 2018)

001
33)Reduce the following Boolean Expression to its simplest form using K-Map (class 12 computer science CBSE 2018)

101
34)(class 12 computer science CBSE 2018)Considering the following definition of class MULTIPLEX, write a method in Python to search and display all the contents in a pickled file CINEMA.DAT, where MTYPE is matching with the value ‘Comedy’.

101
35)Consider the following randomly ordered numbers stored in a list : 3 786, 234, 526, 132, 345, 467 (class 12 computer science CBSE 2018)

001
36) (class 12 computer science CBSE 2018) class Vehicle: #Line 1 (class 12 computer science CBSE 2018)

001