## Pages

Dear MySarkariResult Users Always Type ".in" after MySarkariResult : - "MySarkariResult.in"

### O Level Practical Question Paper For Preparation January 2018 Students

O level January 2017 Practical Paper with answer
 My Sarkari Jobs

M1
1. Create a document in word format the document with various font minimum 15 and margin minimum 2 maximum 4 the document should include.

2. A bulleted of number list

3. A picture of an animal using the clip art gallery

A photo with pagination

M2
Q1.Create a page with two frame using HTML
<!DOCTYPE html>
<html>
<frameset cols=”25%,*,25%”>
<frame src=”frame_a.htm”>
<frame src=”frame_b.htm”>
</frameset>
</html>

Q2.The left frame of page contains the list of name and images of the Indian National on the left frame when you click on the image the detail will be shown on the right

M3
1. Write a program in C to find the sum of all prime number between 100 and 500

/*
Write a C program to find sum of all prime numbers from 1 to 100
*/
#include<stdio.h>
int main(){
int x=0, i, j;
/*****************************/
for(i=100;i<=500;i++){
for(j=2;i%j!=0;j++);
if(j==i){
printf(“%d “,i);
x=x+i;
}
}
printf(“\nSum is %d”,x);
/*****************************/
return 0;
}

3. Write a program in C has to get to multiply them make sure the column of first matrix equal to number of rows of second

4. Write a Program to Multiply Two Matrices

#include <stdio.h>
int main()
{
int a[10][10], b[10][10], result[10][10], r1, c1, r2, c2, i, j, k;
printf(“Enter rows and column for first matrix: “);
scanf(“%d %d”, &r1, &c1);
printf(“Enter rows and column for second matrix: “);
scanf(“%d %d”,&r2, &c2);
// Column of first matrix should be equal to column of second matrix and
while (c1 != r2)
{
printf(“Error! column of first matrix not equal to row of second.\n\n”);
printf(“Enter rows and column for first matrix: “);
scanf(“%d %d”, &r1, &c1);
printf(“Enter rows and column for second matrix: “);
scanf(“%d %d”,&r2, &c2);
}
// Storing elements of first matrix.
printf(“\nEnter elements of matrix 1:\n”);
for(i=0; i<r1; ++i)
for(j=0; j<c1; ++j)
{
printf(“Enter elements a%d%d: “,i+1, j+1);
scanf(“%d”, &a[i][j]);
}
// Storing elements of second matrix.
printf(“\nEnter elements of matrix 2:\n”);
for(i=0; i<r2; ++i)
for(j=0; j<c2; ++j)
{
printf(“Enter elements b%d%d: “,i+1, j+1);
scanf(“%d”,&b[i][j]);
}
// Initializing all elements of result matrix to 0
for(i=0; i<r1; ++i)
for(j=0; j<c2; ++j)
{
result[i][j] = 0;
}
// Multiplying matrices a and b and
// storing result in result matrix
for(i=0; i<r1; ++i)
for(j=0; j<c2; ++j)
for(k=0; k<c1; ++k)
{
result[i][j]+=a[i][k]*b[k][j];
}
// Displaying the result
printf(“\nOutput Matrix:\n”);
for(i=0; i<r1; ++i)
for(j=0; j<c2; ++j)
{
printf(“%d “, result[i][j]);
if(j == c2-1)
printf(“\n\n”);
}
return 0;
}
Output
Enter rows and column for first matrix: 3
2
Enter rows and column for second matrix: 3
2
Error! column of first matrix not equal to row of second.
Enter rows and column for first matrix: 2
3
Enter rows and column for second matrix: 3
2
Enter elements of matrix 1:
Enter elements a11: 3
Enter elements a12: -2
Enter elements a13: 5
Enter elements a21: 3
Enter elements a22: 0
Enter elements a23: 4
Enter elements of matrix 2:
Enter elements b11: 2
Enter elements b12: 3
Enter elements b21: -9
Enter elements b22: 0
Enter elements b31: 0
Enter elements b32: 4
Output Matrix:
24 29
6 25

5. You want to upgrade your system Ram from 1 GB to 4GB how will you access whether your computer support 4 GB of RAM or not.

↣ Candidates can Write their Doubts, Queries and Suggestions in the Comment Box Given Below. Our Experts will try to reach you as soon as possible.