solved questions matric 2024(theory)
solved questions matric 2024(theory)
of Printed Pages – 7
2024
Full Marks : 70
Pass Marks : 21
Time : 3 hours
The figures in the margin indicate full marks for the questions
1. Choose the correct answer: 1x4=4
a) An access point is used to connect
i) Wirefull network
ii) Wireless network
iii) Other network
iv) All of the above
b) The_____section contains the information about the HTML document.
i) TITLE
ii) HEAD
iii) BODY
iv) HTML
c) The number of columns denotes the_____of the table.
i) Cardinality
ii) Degree
iii) Attribute
iv) Field
d) _____ displays only the important information by hiding the implementation part.
i) Inheritance
ii) Encapsulation
iii) Abstraction
iv) Polymorphism
2. Fill in the blanks: 1x4=4
a) MAC address is composed of 12 hexadecimal digit(s)( six groups of two hexadecimal digits)
b) CSS is a scripting language that is widely used to add functionality and interactivity to web pages.
c) In MySQL, data validation can be ensured through constraints while entering data in a table.
d) Encapsulation is the process of hiding unwanted data, such as restricting access to any member of an
object.
3. State whether the following statements are True or False: 1 x 4 = 4
a) An IP address is a unique identifier assigned to a network interface controller.False(MAC address)
b) OR operator requires that all the conditions to be true for inclusion in the result. False(any one of the
conditions)
c) The initialization expression contains the statements that need to be executed in each iteration of the
loop. True
d) A pointer can be used to point an integer only. False(can be used to point char and type at the same
time)
4. Answer the following questions in one word each: 1x8=8
a) This command is used to verify the connectivity between two computers. What is the command here?
Ans: ping
b) It is a numerical label that is assigned to network devices to identify them uniquely. What is it called?
Ans: IP address
c) It is the information to be displayed on the screen like text, pictures, audio, video etc. What is it called?
Ans: Content
d) This is a list of items, with a description of each item. What is it called?
Ans: Definition List
e) This attribute is used to define the address of the file to be linked. What is the attribute here?
Ans: href
g) It is the command used to display complete information about the fields defined in a table. What is the
command here?
Ans: DESCRIBE
h) It can be defined as a programming model which is based upon the concept of calling procedure. What is
it called?
Ans: Procedure Oriented Programming
b) What is TCP?
Ans: The Transmission Control Protocol (TCP) is a communication protocol that is primarily used for
establishing communication between computers over a computer network.
h) Why do we use arrays in computer program? Write the indices of the second and the last elements of
the following array declaration:
char city [8] = { ‘G’, U’, ‘W’, ‘A’, ‘H’, ‘A’, ‘T’,’ I’ }
Ans: Arrays are used in computer programs to store multiple values in a single variable, instead of declaring
separate variables for each value. For example, the marks of Computer Science of Class X students can
be stored in an array.
The index of the second element is 1 and its value(array element) is ‘U’ and the index of the
last element is 7 and its value(array element) is ‘I’.
Ans:
l) What is the difference between top-down and bottom-up approach in programming?
Ans: The difference between top-down and bottom-up approach in programming is as follows:
b) Draw a flowchart for finding the total number of even numbers from a series of numbers.
Ans:
Start
Count = 0
No Is there
Declare Count more
number?
Is the number
even?
i.e. number
c) What is a global variable in C? Why do we need such a variable? % 2 = = 0?
Ans: In C programming, a global variable is a variable that is declared outside any function or block of code.
We need global variable, because it makes it accessible throughout the entire program and the
memory is allocated statically when the program starts.
b) Write a C program to print “I read in class X under SEBA” five times using loop.
Ans: USING FOR LOOP:
#include<stdio.h>
int main()
{
int i;
for(i=1; i<=5; i++)
{
printf("I read in Class X under SEBA:\n");
}
return 0;
}
#include<stdio.h>
int main()
{
int i;
while( i<5)
{
printf("I read in Class X under SEBA:\n");
i++;
}
return 0;
}
#include<stdio.h>
int main()
{
int i;
do
c) What are inner and outer loop? How can we terminate outer loop from a block of the inner loop?
Ans: The loop that is written inside another loop/first loop is called the inner loop. And the loop that
is written outside the inner loop/the first loop is called the outer loop.
Eg:
Loop 1
{
Loop 2
{
// Statements to be printed
}
}
In the above code, loop 2 is the inner loop, and loop 1 is the outer loop.
iii) Display the details of all coaches having name ends with ‘i’.
Ans: SELECT * FROM Coach WHERE CoachName LIKE ‘%i’;
iv) Display the details of all coaches whose DOJ is in the range 1995-01-01 to 2005-01-01
Ans: SELECT * FROM Coach WHERE DOJ BETWEEN 1995-01-01 AND 2005-01-01
*******