Saturday 26 November 2016

Nested Structure

Nested Structure C Language

As you know though structure we can process data record by record that is why structure is called user defined data type. In some specific case you nested structure where a structure is inside of a structure. For example when process a student record with their dob. Take a look on following example.
#include<stdio.h>
#include<conio.h>
#include<string.h>
typedef struct s
{
    int roll;
    char name[10];
    struct d
    {
         int dd,mm,yy;
    }dob;
}student;

Wednesday 23 November 2016

Static Variable

Static Variable

A static variable initialize by 0 instead of garbage at the time of declaration. Static variable retain its value in memory till the program is running.

On the other hand auto variable lost its data when function scope pass out . But static variable retain its value whenever  scope get over.

You can trace that how many times a function is being called.

void test()
{
    static int k; /* k will retain its value when function scope goes down */
    printf("\nThis function being called %d times ",++k);
}

Tuesday 22 November 2016

Read Only Memory

ROM

ROM is read only Non-Volatile memory written data into it while manufacturing. Data of Rom never get change in its entire life.

Example : BIOS,Firware,Console

PROM

PROM is Non-Volatime memory manufactured blank, a user writes program into it. Ones data written in PROM it never get change. PROM is permanent it retain its data when power goes off. you need a special device called a PROM programmer or PROM burner for writing data. The process of programming a PROM is sometimes called burning the PROM.

Example : mobile phones, Radio Frequency Identification cards (RFIDs), High Definition Media Interfaces (HDMI), and video game controllers

PROM Computer Memory

Sunday 20 November 2016

January, 2016 M1-R4: IT TOOLS AND BUSINESS SYSTEMS

January, 2016
M1-R4: IT TOOLS AND BUSINESS SYSTEMS


PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)

1.1 Which of the following is the commonly used browser?
A) Microsoft Internet Explorer
B) Microsoft Excel
C) Google
D) Microsoft Windows

1.2 GIF and JPEG files are examples of?
A) Microsoft Word Files
B) Images
C) Audio Files
D) Video Files