मराठी

ISC (Commerce) इयत्ता १२ - CISCE Question Bank Solutions

Advertisements
[object Object]
[object Object]
विषय
मुख्य विषय
अध्याय

Please select a subject first

Advertisements
Advertisements
< prev  301 to 320 of 828  next > 

Assertion: For proposition ∼A=> B, its contrapositive is B =>∼A

Reason: Contrapositive is the converse of inverse for any proposition.

[1] Boolean Algebra
Chapter: [1] Boolean Algebra
Concept: undefined >> undefined

The complement of the Boolean expression (P' • Q) (R • S') is ______.

[1] Boolean Algebra
Chapter: [1] Boolean Algebra
Concept: undefined >> undefined

Advertisements

An array ARR [ -5 .....15, 10.....20] stores elements in Row Major Wise with each element requiring 2 bytes of storage. Find the address of ARR [10] [15] when the base address is 2500.

[10] Arrays, Strings
Chapter: [10] Arrays, Strings
Concept: undefined >> undefined

Draw the logic gate diagram for 2-input OR gate using NAND gates only. Show the expression at each Step.

[2] Computer Hardware
Chapter: [2] Computer Hardware
Concept: undefined >> undefined

Write the canonical form of the cardinal terms, m3 and M5 for F (A, B, C, D).

[4] Programming in Java (Review of Class Xi Sections B and C)
Chapter: [4] Programming in Java (Review of Class Xi Sections B and C)
Concept: undefined >> undefined

A class Ins Sort contains an array of integers which sorts the elements in a particular order.

Some of the members of the class are given below.

Class name InsSort
arr[ ] stores the array elements
size stores the number of elements in the array
Methods/Member functions:
InsSort(int s) constructor to initialise size= s
void getArray( ) accepts the array elements
void insertionSornt( ) sorts the elements of the array in descending order using the in descending order using the Insertion Sort technique
double find( ) calculates and returns the average of all the odd numbers in the array
void display( ) displays the elements of the array in a sorted order along with the average of all the odd numbers in the array by invoking the function find( ) with an appropriate message

Specify the class InsSort giving details of the constructor(), void getArray( ), void insertionSort( ), double find() and void display(). Define a main( ) function to create an object and call all the functions accordingly to enable the task.

[4] Programming in Java (Review of Class Xi Sections B and C)
Chapter: [4] Programming in Java (Review of Class Xi Sections B and C)
Concept: undefined >> undefined

Design a class Coding to perform some string related operations on a word containing alphabets only.

Example: Input: "Java"

Output: Original word: Java

J=74

a=97

v= 118

a=97

Lowest ASCII code: 74

Highest ASCII code: 118

Some of the members of the class are given below:

Class name Coding
Data members/instance variables:
wrd stores the word
len stores the length of the word
Methods/Member functions:
Coding() constructor to initialise the data members with legal initial values
void accept( ) to accept a word
void find() to display all the characters of 'wrd' along with their ASCII codes. Also display the lowest ASCII code and the highest ASCII code, in 'wrd'
void show() to display the original word and all the characters of 'wrd' along with their ASCII codes. Also display the lowest ASCII code and the highest ASCII code in 'wrd', by invoking the function find()

Specify the class Coding giving details of the constructor( ), void accept( ), void find( ) and void show(). Define a main() function to create an object and call all the functions accordingly to enable the task.

[4] Programming in Java (Review of Class Xi Sections B and C)
Chapter: [4] Programming in Java (Review of Class Xi Sections B and C)
Concept: undefined >> undefined

CardGame is a game of mental skill, built on the simple premise of adding and removing the cards from the top of the card pile.

The details of the class CardGame are given below.

Class name CardGame
Data members/instance variables:
cards[] array to store integers as cards
cap to store the maximum capacity of array
top to store the index of the topmost element of the array
Methods/Member functions:
CardGame(int cc) constructor to initialise cap=cc and top= -1
void addCard(int v) to add the card at the top index if possible, otherwise display the message “CARD PILE IS FULL”
int drawCard( ) to remove and return the card from the top index of the card pile, if any, else return the value -9999
void display( ) to display all the cards of card pile
  1. Specify the class CardGame giving details of the functions void addCard(int) and int drawCard( ). Assume that the other functions have been defined.
    The main() function and algorithm need NOT be written.
  2. Name the entity described above and state its principle.
[13] Data Structures
Chapter: [13] Data Structures
Concept: undefined >> undefined

A super class EmpSal has been defined to store the details of an employee. Defie a subclass (overtime to compute the total salary of the employee, after adding the overtime amount based on the following criteria.

  • If hours are more than 40, then 5000 are added to salary as an overtime amount
  • If hours are between 30 and 40 (both inclusive), then 3000 are added to salary as an overtime amount
  • If hours are less than 30, then the salary remains unchanged The details of the members of both the classes are given below:
Class name EmpSal
Data members/instance variables:
empnum to store the name of the employee
empcode integer to store the employee code
salary to store the salary of the employee in decimal
Methods/Member functions:
EmpSal(...) parameterised constructor to assign values to data members
void show() to display the details of the employee
Class name Overtime
Data members/instance variables:
hours integer to store overtime in hours
totsal to store the total salary in decimal
Methods/Member functions:
Overtime(....) parameterised constructor to assign values to data members of both the classes
void calSal() calculates the total salary by adding the overtime amount to salary as per the criteria given above
void show() to display the employee details along with the total salary (salary +overtime amount)

Assume that the super class EmpSal has been defined. Using the concept of inheritance, specify the class Overtime giving the details of the constructer (...), void calSal() and void show().

The super class, main function and algorithm need NOT be written.

[12] Inheritance and Polymorphism
Chapter: [12] Inheritance and Polymorphism
Concept: undefined >> undefined

Assertion: Recursion utilises more memory as compared to iteration.

Reason: Time complexity of recursion is higher due to the overhead of maintaining the function call stack.

[11] Recursion
Chapter: [11] Recursion
Concept: undefined >> undefined

Study the given propositions and the statements marked Assertion and Reason that follow it. Choose the correct option on the basis of your analysis.

p = I am a triangle

q = I am a three-sided polygon

s1 = p → q

s2 = q → p

Assertion: s2 is converse of s1

Reason: Three-sided polygon must be a triangle.

[1] Boolean Algebra
Chapter: [1] Boolean Algebra
Concept: undefined >> undefined

Assertion: In Java, the String class is used to create and manipulate strings, and it is immutable.

Reason: Immutability ensures that once a String object is created, its value cannot be changed.

[10] Arrays, Strings
Chapter: [10] Arrays, Strings
Concept: undefined >> undefined

A full adder needs five gates and those are 3 AND gates, 1 OR gate and 1 XOR gate. When a full adder is constructed using 2 half adders, it also requires 5 gates. State the names along with the quantity those gates.

[2] Computer Hardware
Chapter: [2] Computer Hardware
Concept: undefined >> undefined

Draw the logic gate diagram for the reduced expression. Assume that the variables and their complements are available as inputs.

[2] Computer Hardware
Chapter: [2] Computer Hardware
Concept: undefined >> undefined

Answer the following questions related to the below image:

  1. What is the output of the above gate if input A=0, B=1?
  2. What are the values of the inputs if output =1?
[2] Computer Hardware
Chapter: [2] Computer Hardware
Concept: undefined >> undefined

Given are two strings, input string and a mask string that remove all the characters of the mask string from the original string.

Example: INPUT: ORIGINALSTRING: communication
    MASK STRING: mont
  OUTPUT: cuicai  

A class StringOp is defined as follows to perform above operation.

Some of the members of the class are given below:

Class name StringOp
Data members/instance variables:
str to store the original string
msk to store the mask string
nstr to store the resultant string
Methods / Member functions:
StringOp() default constructor to initialize the data member with legal initial value
void accept( ) to accept the original string str and the mask string msk in lower case
void form() to form the new string nstr after removal of characters present in mask from the original string
void display( ) to display the original string and the newly formed string nstr

Specify the class StringOp giving details of the constructor( ), void accept( ), void form() and void display( ). Define a main( ) function to create an object and call all the functions accordingly to enable the task.

[10] Arrays, Strings
Chapter: [10] Arrays, Strings
Concept: undefined >> undefined

A class Mixarray contains an array of integer elements along with its capacity (More than or equal to 3). Using the following description, form a new array of integers which will contain only the first 3 elements of the two different arrays one after another.

Example:

Array1: { 78, 90, 100, 45, 67 }

Array2: {10, 67, 200, 90 }

Resultant Array: { 78, 90, 100, 10, 67, 200}

The details of the members of the class are given below:

Class name Mixarray
Data members/instance variables:
arr[] integer array
cap integer to store the capacity of the array
Member functions/methods:
Mixarray (int mm ) to initialize the capacity of the array cap=mm
void input( ) to accept the elements of the array
Mixarray mix(Mixarray P, Mixarray Q) returns the resultant array having the first 3 elements of the array of objects P and Q
void display( ) to display the array with an appropriate message.

Specify the class Mixarraygiving details of the constructor(int), void input( ), Mixarray mix(Mixarray,Mixarray) and void display( ). Define a main( ) function to create objects and call all the functions accordingly to enable the task.

[10] Arrays, Strings
Chapter: [10] Arrays, Strings
Concept: undefined >> undefined

Write the statement in Java to extract the word “MISS” from the word “SUBMISSION”.

[10] Arrays, Strings
Chapter: [10] Arrays, Strings
Concept: undefined >> undefined

What is the output of the statement given below?

System.out.print("FAN" + ("AUTOMATIC".charAt(5) ) );
[10] Arrays, Strings
Chapter: [10] Arrays, Strings
Concept: undefined >> undefined

A class Fibo has been defined to generate the Fibonacci series 0, 1, 1, 2, 3, 5, 8, 13, ……. (Fibonacci series are those in which the sum of the previous two terms is equal to the next term).

Some of the members of the class are given below:

Class name Fibo
Data member/instance variable:
start integer to store the start value
end integer to store the end value
Member functions/methods:
Fibo( ) default constructor
void read( ) to accept the numbers
int fibo(int n) return the nth term of a Fibonacci series using recursive technique
void display( ) displays the Fibonacci series from start to end by invoking the function fibo()

Specify the class Fibo, giving details of the Constructor, void read( ), int fibo(int), and void display( ). Define the main() function to create an object and call the functions accordingly to enable the task.

[11] Recursion
Chapter: [11] Recursion
Concept: undefined >> undefined
< prev  301 to 320 of 828  next > 
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×