Total Pageviews

956,992

Friday, February 21, 2025

COMPUTER SCIENCE MDC SAMPLE MCQ

 

Shortcut key: Copy , Cut , Paste ,Undo ,Save , Print ,Select all ,create a new file, open a file

Full form: WWW,URL,LAN,MAN,WAN,ISP,IP,MBPS,EMAIL,HTTP,FTP,SMTP,HTTPS,AI,VIRUS.



What is smallest unit of the information?

  1. A bit
  2. A byte
  3. A block
  4. A nibble
What is the decimal equivalent of the binary number 10111?
  1. 21
  2. 39
  3. 42
  4. 23

Which of the following values is the correct value of this hexadecimal code 1F.01B?

  1. 35.0065918
  2. 32.0065918
  3. 31.0065918
  4. 30.0065918

 How is the data stored on the diskette?

  1. Ink
  2. Laser bubbles
  3. Magnetism
  4. Circuits

 Which of the following is the smallest visual element on a video monitor?

  1. Character
  2. Pixel
  3. Byte
  4. Bit

Which of the following is an output device?

  1. Keyboard
  2. Mouse
  3. Light pen
  4. VDU

Which of the following is an input device?

  1. Plotter
  2. Printer
  3. VDU
  4. Mouse

Which of the following is the extension of Notepad?

  1. .txt
  2. .xls
  3. .ppt
  4. .bmp

What is the mean of the Booting in the system?

  1. Restarting computer
  2. Install the program
  3. To scan
  4. To turn off

The central processing unit is located in the _____.

  1. Hard disk
  2. System unit
  3. Memory unit
  4. Monitor

Which one of the following groups contains graphical file extensions?

  1. JPG, CPX, GCM
  2. GIF, TCE, WMF
  3. TCP, JPG, BMP
  4. JPG, GIF, BMP

Which of the following is equal to a gigabyte?

  1. 1024 bytes
  2. 512 GB
  3. 1024 megabytes
  4. 1024 bits

Which type of program acts as an intermediary between a user of a computer and the computer hardware?

  1. Operating system
  2. User thread
  3. Superuser thread
  4. Application program

What kind of language can computer understand?

  1. Normal language
  2. Computer language
  3. Assembly language
  4. High-level language



What is the full form of RAM?

  1. Remote Access Memory
  2. Random Access Memory
  3. Remote Access Memory
  4. Random Access Memory

Which one of the following software applications would be the most appropriate for performing numerical and statistical calculations?

  1. Database
  2. Document processor
  3. Graphics package
  4. Spreadsheet

 Which of the following is not considered hardware?

  1. Operating system
  2. CPU
  3. Keyboard
  4. Hard disk

What is the full form of USB?

  1. Unshielded System Board
  2. Universal System Board
  3. Unidentified System Bus
  4. Universal System Bus

What is five main components of a computer system?

  1. CPU, CD-ROM, Mouse, Keyboard, Sound card
  2. Memory, Video card, Monitor, Software, Hardware
  3. Modem, Keyboard, Word Processor, Printer, Screen
  4. CPU, Memory, System bus, Input, Output

Which of the following numbers is a binary number?

  1. 1 and 2
  2. 0 and 0.1
  3. 2 and 0
  4. 0 and 1

Which one of the following is an example of the browser software?

  1. Microsoft Word
  2. Notepad
  3. Internet navigator
  4. Internet explorer

A spreadsheet is the best application for ____________.

  1. Writing an information
  2. Handling simple accounts
  3. Producing a grid-referenced map
  4. Keeping an inventory of equipment used

What is the full form of VDU?

  1. Virtual Development User
  2. Virtual Detection Unit
  3. Visual Detection Unit
  4. Visual Display Unit

Which one of the following parts is called the brain of the computer?

  1. ALU
  2. Monitor
  3. UPS
  4. CPU

Which of the following device is not a portable device?

  1. DVD
  2. Mobile phone
  3. Pen drive
  4. None of the these

Thursday, February 20, 2025

MDC SEMESTER 3 THEORY AND PRACTICAL ASSIGNMENTS

 THEORY SET -1


1. 5 Input  Device and 5 Output Device Name.

2. Describe different types of printers.

3. Describe the classification of computer.

4. Write a short note on i) primary memory ii) secondary memory

5. Why cache memory is used?

6. Describe features of analog computer ,digital computer and hybrid computer.

7.Write a short note E-Mail.

8.What do you mean by data transfer rate?

9.Write a short note on i)LAN ii) MAN iii)WAN iv)CAN v) PAN

10. What do you mean by search engine?


                                                        THEORY SET -2


1. Evolution of Operating System

2. Short note on -Batch Processing, Time Sharing, Multi-programming, Multi-Processing

3.setting date and time

4. Describe the basic features of i) Artificial Intelligence, ii) Robotics, iii) Internet of Things (IoT),  iv) Smart cities, v)Cloud Computing vi) antivirus 

5. Describe different types of computer virus.

6. Shortcut key: Copy , Cut , Paste ,Undo ,Save , Print ,Select all ,create a new file, open a file

7. Full form: WWW,URL,LAN,MAN,WAN,ISP,IP,MBPS,EMAIL,HTTP,FTP,SMTP,HTTPS.

                                                       PRACTICAL 


1. MS-WORD -  i) Class Routine

                           ii) BIO-DATA

2. MS-EXCEL - i)Create the table, insert appropriate data and then calculate sum of total marks, average of marks, highest marks, lowest marks of every student.



3. MS-POWER POINT  i) Cyber Security

                                          ii) Artificial Intelligence

                                         










MDC SEMESTER 1 THEORY AND PRACTICAL ASSIGNMENTS

THEORY SET -1


1. 5 Input  Device and 5 Output Device Name.

2. Describe different types of printers.

3. Describe the classification of computer.

4. Write a short note on i) primary memory ii) secondary memory

5. Why cache memory is used?

6. Describe features of analog computer ,digital computer and hybrid computer.

7.Write a short note E-Mail.

8.What do you mean by data transfer rate?

9.Write a short note on i)LAN ii) MAN iii)WAN iv)CAN v) PAN

10. What do you mean by search engine?


                                                        THEORY SET -2


1. Evolution of Operating System

2. Short note on -Batch Processing, Time Sharing, Multi-programming, Multi-Processing

3.setting date and time

4. Describe the basic features of i) Artificial Intelligence, ii) Robotics, iii) Internet of Things (IoT),  iv) Smart cities, v)Cloud Computing vi) antivirus 

5. Describe different types of computer virus.

6. Shortcut key: Copy , Cut , Paste ,Undo ,Save , Print ,Select all ,create a new file, open a file

7. Full form: WWW,URL,LAN,MAN,WAN,ISP,IP,MBPS,EMAIL,HTTP,FTP,SMTP,HTTPS.

                                                       PRACTICAL 


1. MS-WORD -  i) Class Routine

                           ii) BIO-DATA

2. MS-EXCEL - i)Create the table, insert appropriate data and then calculate sum of total marks, average of marks, highest marks, lowest marks of every student.



3. MS-POWER POINT  i) Cyber Security

                                          ii) Artificial Intelligence

                                         










Saturday, November 16, 2024

string pointer

 


#include <stdio.h>


int main()

{

    char a[]="aeiou";

    char *p;

    p=a;

    printf("%c\n",++*p);

    puts(a);


    return 0;

}

string pointer

 #include <stdio.h>


int main()

{

    char a[]="aeiou";

    char *p;

    p=a;

    printf("%c\n",(*p)++);

    puts(a);


    return 0;

}

string pointer

 #include <stdio.h>


int main()

{

    char a[]="aeiou";

    char *p;

    p=a;

    printf("%c",*p++);

    puts(a);


    return 0;

}

Saturday, November 9, 2024

POINTER

 int main()

{

    char a[]="aeiou";

    char *p;

    p=a;

    printf("%c",*p);


    return 0;

}

POINTER

 

int main()

{

    int a[]={10,20,30,40};

    int *p,i;

    p=a;

    printf("%d ",*a+1);

    printf("%d ",*p);

 

    //for(i=0;i<4;i++)

      //printf("%d ",a[i]);

    return 0;

}

POINTER

 

int main()

{

    int a[]={10,20,30,40};

    int *p,i;

    p=a;

    printf("%d ",*(a+1));

    printf("%d ",*p);

    //for(i=0;i<4;i++)

      //printf("%d ",a[i]);

    return 0;

}

POINTER

 

int main()

{

    int a[]={10,20,30,40};

    int *p,i;

    p=a;

    printf("%d ",*++p);

        printf("%d ",*p);

 

    for(i=0;i<4;i++)

      printf("%d ",a[i]);

    return 0;

}

POINTER

 int main()

{

    int a[]={10,20,30,40};

    int *p,i;

    p=a;

    printf("%d ",++*p);

        printf("%d ",*p);

    for(i=0;i<4;i++)

      printf("%d ",a[i]);

    return 0;

}

POINTER

 

int main()

{

    int a[]={10,20,30,40};

    int *p,i;

    p=a;

    printf("%d ",*p++);

        printf("%d ",*p);

 

    for(i=0;i<4;i++)

      printf("%d ",a[i]);

    return 0;

}

POINTER

 

 

int main()

{

    int a[]={10,20,30,40};

    int *p;

    p=a;

    printf("%d",*a);

   

    return 0;

}

static variable

 void f()

{

    static int a=5;

    int i;

    for(i=1;i<=4;i++)

    {

        a=10;

        printf("%d",a++);

    }

}

 

int main()

{

    printf("Hello World");

    f();

    return 0;

}

c question on pointer

 

void f()

{

    //static int a=5;

    int i;

    for(i=1;i<=4;i++)

    {

        static int a=10;

        printf("%d",a++);

    }

}


 

int main()

{

    printf("Hello World");

    f();

    return 0;

}


Sunday, November 3, 2024

INTERNET TECHNOLOGY - JAVASCRIPT

Comments in JAVA SCRIPT.

Use of alert(),confirm(),prompt()

popup box

Operators: i) Arithmetic ii) Relational  iii)Assignment iv) Increment v)Decrement vi) conditional vii) logical

 break and continue

client side java script,server side javascript

DHTML

widget

main objects used in java script

direct and indirect embedding



Array:

declaration ,initialization

sorting

Array objects and methods -join(),concat(),shift(),slice(),splice(),unshift(),sort(),push(),pop(),reverse()


function:

4 type of function

scope of variable and arguments

Date objects and methods

global function


string:

string object and methods


form and event handling:

properties and methods of form

event registration

text, text area, checkbox, radio button, button, select element

mouse event, keyboard event

intrinsic event


methods of document object, window object


Regular expression

matching character, matching word

validation check

replace word



event bubbling

event listener

Dom

child, parent


Exception handling

get(),post()


Thursday, August 29, 2024

Sum and Product of digits in a number

 # Take input from user

num = int(input("Enter any number : "))

temp = num

product = 1

sum=0

while(temp != 0):

    product = product * (temp % 10)

    sum = sum +  (temp % 10);

    temp = int(temp / 10)


print("\nProduct of all digits in", num, ":", product)

Strong Number in Python

 Strong Number in Python::

sum=0  

num=int(input("Enter a number:"))  

temp=num  

while(num):  

     i=1    

    fact=1  

    rem=num%10  

    while(i<=rem):  

        fact=fact*i  

        i=i+1  

    sum=sum+fact  

    num=num//10  

if(sum==temp):  

    print("Given number is a strong number")  

else:  

    print("Given number is not a strong number")  

Perfect Number by using For_loop

 # Python progam --- Perfect Number by using For_loop

Input_Number = int(input("enter a number"))

Sum = 0

for i in range(1, Input_Number):

    if(Input_Number % i == 0):

        Sum = Sum + i

if (Sum == Input_Number):

    print(&quot;Number is a Perfect Number.&quot;)

else:

    print(&quot;Number is not a Perfect Number.&quot;)

Python Program to Print all Prime Numbers in a range

 Python program to display all the prime numbers within a range

lower = int(input("enter a number")

upper = int(input("enter a number")


print("Prime numbers between", lower, "and", upper, "are:")


for num in range(lower, upper + 1):

   # all prime numbers are greater than 1

   if num > 1:

       for i in range(2, num):

           if (num % i) == 0:

               break

       else:

           print(num)