Webocreation

Saturday, July 31, 2010

1. Objectives:
1.To give idea that each process has the process ID.
2.To clearify that each child process again run with its own process ID.
3.To use the functions : getpid() ( to get its process id) and getppid()
( to get the process id of its parent)
Source Code:

#include
#include
int main()
{
int pid,ppid;
pid=getpid();
ppid=getppid();
printf("The process ID is:%d\n",pid);
printf("The parent process ID is:%d\n",ppid);
return 0;
}

Output:

2.Objectives:
1.To give idea that a process can create a new sub process.
2.To clearify that a system can create a new process. (When it calls next process then the new process will have new process id).
3.To use the function : system()
Source Code:

#include
int main()
{
int val;
val=system("ls -l");
printf("Your request has been Done!\n");
return ;
}

Output:

3.Objectives:
1.To give idea that a process can create a new child process.
2.To clearify that when fork() is used it creates two versions of the program that is written inside it (So we can realize real child process using fork();)
3.To use the function : fork()

Source Code:
#include
int main()
{
printf("This is the test for fork:\n");
printf("This is to demonstrate the fork:\n");
fork();
printf("Hi! Everybody\n");
printf("My name is Mr. R.:\n");
return 0;
}

3.Objectives:
1.To give idea that a process can create a new child process.
2.To clearify that when fork() is used it creates two versions of the program
3. that is written inside it (So we can realize real child process using fork();)
4.To use the function : fork()
5.To use the functions : getpid() ( to get its process id) and getppid()
( to get the process id of its parent)
Source Code:
#include
#include
int main()
{
int pid;
printf("The main program process programm Id is:%d\n",(int)getpid());
pid=fork();
if(pid!=0)
{
printf("This is the parent process with PID:%d\n",(int)getpid());
printf("The Child PProcess ID is:%d\n",pid);
}
else
printf("This is the child process with id:%d\n",(int)getpid());
return 0;
}

Output:

#include
#include
int main()
{
int pid;
pid=fork();
if(pid==0)
{
for(;;)
printf("Child Proces\n");
}
else if(pid>0)
{
for(;;)
printf("Parent Process\n");
}

Objective: To use threads in a program

Source code:
// to print the sum up to the given number using thread.
#include
#include
#include


void * sum(void * n)
{
int sum=0;
int i;
int *no=(int*)n; // typecasting void*n into int n
for( i=0;i<=*no;i++) sum=sum+i; printf("The sum of the numbers is :%d",sum); printf("\n"); } int main() { int n; pthread_t thread1_id; printf("\nEnter the number upto which you want the sum:"); scanf("%d",&n); pthread_create(&thread1_id,NULL,&sum,&n); return 0; } Write a program for Strict Alternation for critical region problem and analyze the output. Objective: To demonstrate the strict alternation. To create new thread ,execute and wait for particular thread to finish. To use -lpthread in linking the program. Source code: #include
#include
#include
#include

void *thread1f(void * arg);
void *thread2f(void * arg);

int turn=1;

int main()
{
pthread_t thid1;
pthread_t thid2;

pthread_create(&thid1, NULL, &thread1f, NULL);
pthread_create(&thid2, NULL, &thread2f, NULL);

pthread_join(thid1, NULL);
pthread_join(thid2, NULL);

return 0;
}

void *thread1f(void * arg)
{
int a=0;
while(a++<20) { while(turn!=1) fputc('b', stderr); turn=0; } } void *thread2f(void * arg) { int b=0; while (b++<20) { while(turn!=0) fputc('a', stderr); turn=1; } } Output 3Write the problems found in strict alternation and develop new version of the program using Peterson's algorithm. Objective: To implement Peterson’s algorithm for handling race condition. To create new thread ,execute and wait for particular thread to finish. Source code: #include
#include
#include
#include
#define N 2
enum{FALSE,TRUE};
int turn=0;
int interested[N];
void leave_region(int);
void enter_region(int);
void *thread1(void *arg)
{
int i;
for(i=1;i<20000;i++) printf("Non-Critical section or first process:\n"); enter_region(0); for(i=0;i<20000;i++) printf("Critical section for First process:\n"); leave_region(0); } void *thread2(void *arg) { int i; for(i=0;i<10000;i++) printf("Non-Critical section for Second process:\n"); enter_region(1); for(i=0;i<20000;i++) printf("Critical section for second process:\n"); leave_region(1); } void enter_region(int process) { int i; int other; other=1-process; interested[process]=TRUE; turn=process; while(turn==process && interested[other]==TRUE); } void leave_region(int process) { interested[process]=FALSE; } int main() { pthread_t th1; pthread_t th2; pthread_create(&th1,NULL,&thread1,NULL); pthread_create(&th2,NULL,&thread2,NULL); pthread_join(th1,NULL); pthread_join(th2,NULL); } Output: Write the program equivalent to to ‘cp’ command of UNIX with the name ‘filecopy’ Source Code: #include
#include
#define max 100
main(int argc, char* argv[])
{
FILE *fs,*fd;
char line[max];
if (argc>3)
{
printf("Too many parameters to create a file. Use correct syntax");
exit(1);
}if (argc<3)
{
printf("Too few parameters to create a file. Use correct syntax");

exit(1);

}
else
{
if ((fs=fopen(argv[1],"r"))==NULL)
{
printf("\nCan't find the source file '%s'. \n Confirm it again.\n",argv[1]);

exit(1)
}

else

{

if((fd=fopen(argv[2],"r"))!=NULL)

{

printf("\nDestination file already exists.");

printf("\n 0 file(S) copied");

exit(1);

}
else

{
fd=fopen(argv[2],"w");
while(fgets(line,max,fs)!=NULL)
fputs(line,fd);
printf("\nOne file is copied\n");
fclose(fs);
fclose(fd);
}
}
}
return 0;
}

An Introduction to Red Hat Linux

An Introduction to Red Hat Linux


Course Contents of Red Hat Linux –

1. File and Directory Operations
2. User Information
3. File Permissions
4. Linux File System Essentials
5. X-Window System and GUI application (introduction)
6. Standard I/O Pipes
7. String Processing
8. Process
9. VI editor
10. Bash Shell and Shell Scripting
11. Basic Network Clients



Introduction

An operating system (OS) is software designed to act as an interface between the computer and the user. It performs various important functions such as ,

• An OS is a command interpreter. It translates the high level language to machine language and vice versa.
• An OS acts as process manager. There are various processes running simultaneously in a computer. The amount of time to be spent on a process by the CPU is decided by the OS.
• An OS is a memory manager. As said above, there are various processes running simultaneously in a computer which require memory from CPU. The amount of memory to be allocated on certain process is also decided by the OS.
• An OS acts as a hardware or peripheral manager. The task of accepting input producing the output and redirecting to different peripherals is done by the OS.

About Linux

Linux is one of the popular OS in the market today. It is developed form of UNIX. So, most of its features are UNIX-like. Most of the tools found in UNIX are supported in Linux.

UNIX was designed and developed in 1960s to provide an environment to create programs. It became popular and got spread to educational institutes, research labs and industries. Later a Finnish student Linus Torvalds developed LINUX from UNIX and made the source code available on the internet. Later more developers added additional functions to LINUX.

UNIX principles
• Everything is a file including hardware.
• Configuration data are stored in the text format.
• Small-single purpose programs are present.
• It has ability to chain programs.

Linux has many unique features.
• It has a kernel programming interface. Kernel is responsible for controlling the resource and scheduling user jobs. All the programs interact with the kernel through system calls.
• Linux is a multi-user OS. This allows many users to access all the system resource almost simultaneously.
• It is a multitasking OS. It can run up to 32768 processes at a time.
• Files are arranged under a directory.


Structure of Linux system
Linux system structure consists of Kernel, Shell, Tools and Applications.



Layer view of Linux Operating System

Kernel is the heart of the Linux OS. It is loaded in the memory when computer is booted. It interacts with the hardware. It manages the system resources, allocates time for different users and process, and sets process priorities.

Shell acts as the interface between user and the computer. There are different types of Shell available in Linux. Among them, bash shell is widely used.

Linux has its own applications for word-processing, spreadsheet, creating presentation, image processing etc.


Simple Commands

Linux has six virtual consoles and one GUI console.
1. To switch between the text consoles, press
Ctrl+Alt+F1
Ctrl+Alt+F2
Ctrl+Alt+F3
Ctrl+Alt+F4
Ctrl+Alt+F5
Ctrl+Alt+F6,
To switch to GUI console, press
Ctrl+Alt+F7

2. To shut down the system, type “halt” in the command line and press enter.

3. date: To view and change current date and time.
• date (<┘): to view current system date and time. • date –s mm/dd/yy : to change date • date –s hh:mm:ss : to change time • date –s ‘mm/dd/yy hh:mm:ss’ : to change both • cal (<┘) : to view calendar of the current month and year • cal 2004 (<┘) : to view calendar of the year 2004 • cal 7 2003 (<┘) : to view calendar of July 2003 4. To pause |more
or
|less

press (<┘) to scroll one line at a time. press ‘spacebar’ to scroll one page at a time. 5. To quit press q (<┘) 6. To cancel a command, press ctrl+c (<┘) 7. To clear screen clear (<┘) Getting Help • For quick help --help (<┘) • For detailed help man (<┘) • Help files are also available in the directory /usr/share/doc/ • Or we may also check the site http://www.tldp.org for linux documentation project. File and Directory Commands Directory Commands NOTE: . : represents current directory .. : represents parent directory / : represents root directory ~ : represents home directory 1. pwd (<┘) Displays the full pathname for the current directory. 2. ls (<┘) Displays the list of files in the current directory. ls /directory name (<┘) Displays the contents of the specified directory. This command various options to use. Some of them are as follows: ls –l Lists file in long format. Filenames are displayed along with their mode, number of links, owner, size, modification date and time. ls –t Lists in order of last modification time ls –a Lists all entries along with hidden files ls –u Lists in order of last access time 3. mkdir (<┘) This command is used to create a new directory of specified name. 4. cd (<┘) This command is used to change from working directory to any other directory specified. 5. rmdir (<┘) This command removes or deletes the specified directory. The specified directory must be empty. File Commands 1. cat command Lists the contents of the specified file. If we do not specify the name of the file , it takes input form the standard input. Options of cat commands are as follows: cat Displays the contents of the specified file.
cat –s Suppresses warning about non-existent files
cat > Creates a new file with specified file name. Takes input from standard input file. We can type in our text and terminate with ctrl+d to take us back to prompt.
cat >> Appends data to the specified file

Conventions of filename
• Filename can be of maximum 255 characters.
• Special chars can be protected with quotes.
• Filename are case sensitive.
• Filenames beginning with dot is hidden file.

2. head (<┘) Displays the first ten lines (default) the text file. head –n N (<┘) Displays the first N lines of the text file. tail command is just the complement of the head command. 3. cp command This command creates a copy of source file and gives the file name specified in destination file. cp (<┘) Options: cp –i Interactive
cp –r Copies all the contents of dir1 to new directory dir2


4. touch …. (<┘) Creates zero length (blank) files namely file1, file2, ….. fileN. 5. mv command This command is used to rename and move ordinary and directory files.For this we need both execute and write permissions. mv (<┘) We can also use this command to rename files as follows: mv (<┘) 6. rm command This command removes the specified file. The options available with this command are rm -i Prompts the user if he/she wants to delete the mentioned file. rm -r Recursively deletes the entire contents of the directory as well as the directory itself. rm –ir Interact with the rm command and deletes a directory. Wild Card Characters Group of files can be accessed using the wild card patterns.Various wild card patterns are as follows: * Match zero or more characters ? Match any single character [abx] Matches any single character from given character [a-e] Matches by single character from given range [^a-e] Matches any single character except given range of character (^ stands for ‘not’) User Information The user information are stored in /etc/passwd. The file could be viewed by the root user. The user information is stored and displayed in the following format. username:x:user-id:GID:comment:/home-dir:/login shell • Here, username specifies the name of the current user. • x represents the shadow password. It is displayed instead of the actual password. The passwords are saved in /etc/shadow. • User-id are the numbers. Zero (0) is for the root user by default Above zero till 499 specifies system users. While for the normal user it starts from 500. • GID is the short form of Group ID. All the users are assosciates with a group in Linux OS. GID donates the user’s primary group number. User may be the member of more than one group. Primary GID is unique for all the users. • Comments (finger information) are the information about the user. These are the common information which are not used in system. • Home-dir is the home directory of the user. The user has the whole right in his/her home directory. • Login shell Some commands related to User Information 1. To create new user useradd (<┘) 2. To assign password to new user passwd (<┘) Enter new password. 3. To change the user password passwd (<┘) This command can be used by the user himself. or passwd (<┘) This command can be used by the root user. Enter new password. 4. To change the comment of a user chfn (<┘) chfn stands for “change finger”. This command can be used by the user himself. chfn (<┘) This command can be used by the root user. 5. To view the finger information of any user finger (<┘) This command can be used by the user himself. finger (<┘) This command can be used by the root user. 6. To display the username of currently logged on users • who (<┘) Gives the details of the users who have logged in to the Linux system lately. • whoami (<┘) Gives details regarding login time and system’s name for the connection being used. • w Displays the users who are currently logged in. • users Displays the username of the users who have currently logged in. It displays only the usernames. File Permission Linux helps a very great deal in file security. The Linux files can be classified into - Directory files - Ordinary files - Special files When a list of files is displayed using “ls –l” command, we can see the file-type and file permission specification in the first column (which is in the format drwxrwxrwx). The first character represents the file type. Ordinary file starts with ‘-‘ and the directory files start with ‘d’. The last nine charcters specifies the file permission. The owner (one who created the file) of the file can perform any operation on the file. If the owner wants other people to access his/her files, then permission has to be granted by the owner. Permission available are r -> read (display, copy or compile a file)
w ->write (write, edit or delete a file)
x -> execute (execute a file)
The permissions are given from the second position onwards. The first three characters indicate the permissions of the owner of the file. The next three positions indicate the permissions of the group which consist of the owner and the last three indicates the permission for others.

To change the file access permission (FAP)

The mode of the file can be changed using ‘chmod’ command.
FAP can be changed for one user or for all the users. This can be done by specifying the name of the user before +/- sign.


‘u’ indicates the owner of the file.
‘g’ indicates the group which consists of the owner.
‘o’ indicates the others.
‘a’ indicates the all.

‘+’ is used to grant permission
‘-‘ is used to revoke permission
‘=’ is used for absolute assignment

syntax:
chmod user+/-permission characters (<┘) For example, chmod u+rwx file1 (<┘) This command grants all the permissions to the owner. chmod u-wx,g-wx,o-wx file1 (<┘) This command revokes write and execute permissions from the entire user category. Octadecimal Representation of FAP FAP can be represented Octadecimally. The octadecimal values are as follows: Numbers Values 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111 If a file has the permission set, then the value allotted is 1 else it is 0. If FAP is represented by 111, it means all the permissions are granted. The corresponding value for 111 is 7. So, the following command chmod 777 file1 (<┘) grants all the permissions for all the users. Linux File System Essentials Linux treats all the information as files. Directories and hard devices are also treated as files. They are stored in single rooted hierarchical order and grouped together which enables easier search of files. The supermost directory is called root directory and is represented by ‘/’. Only root doesn’t have a parent directory. Linux file system can be shown as follows: Root ‘/’ directory consists following subdirectories: /bin Consists of executable user programs /usr It is the home directory of the /sbin Contains system programs /lib Contains library files /root It is the home directory of the super user ie root user /var Location for variable files such as mail spools, print spools, log files etc /mnt Typical location for mount points mounted after system is booted /etc Consists of configuration files /boot Kernel and other files used during system startup /lost+found Used by file system check to place orphand files /dev Contains device files /proc It is the virtual file system containing system information used by other programs and kernel parameters /home Default location for user’s home directory /opt Installation directory for some third party programs such as star office /tmp Consists of temporary files ***----------------------------------------*** Remained to write about ext2/3 file systems Filesystem metadata etc etc Inode metadata Stat command ***---------------------------------------*** Managing Devices As has already been stated, Linux treat everything as a file. Even the hardware devices in which files are stored are treated as files. The special files that represent the hardware devices are kept in the directory /dev. Devices may be either Character Device or a Block Device. The character device is a device in which we can read a sequence of characters. For instance, keyboard is a character device. They are also called sequentially accessed device. While, a block device is the one in which we can read a block of data at once. Blocked devices have a fixed capacity and it allows accessing every part equally. Hence also called random access device. Floppy and Hard disks its examples. The kernel identifies the type of the device by looking at the file mode, at the far left of the output of ls –l command. Mounting Removable Media The mount command can be used to mount blocked device (only) on the filesystem. Syntax: mount –t (<┘) - fstype signifies the file system type to mount. - device file represents a particular device to be mounted. - mount point must be a directory and it need not be empty. When a filesystem is mounted in this directory, all files under the directory become inaccessible. Floppy Disks A floppy could be mounted with a filesystem such as msdos or vfat for FAT file system. The device file corresponding to the floppy disks begin with the letters fd. /dev/fd0 represents the first floppy disk and /dev/fd1 for the second if exists. The device file /dev/fd0H1220 denotes a 1.44MB high density floppy. CD-ROM Drive A CD-ROM have a standard iso9660 filesystem. The device name /dev/cdrom is used as a symbolic link to the actual device. The audio CDs cannot be mounted. In the above syntax, the fstype and deivce file are optional. Those details are retrieved from the /etc/fstab file. The mount point can be specified only if filesystem to mount is specified in /etc/fstab file. Example of mount command : mount /mnt/floppy (<┘) mount /mnt/cdrom (<┘) mount -t msdos /dev/fd0 /mnt/floppy (<┘) mount -t iso9660 /dev/cdrom /mnt/cdrom (<┘) To view the contents of the files in the media cd /mnt/floppy (<┘) (for floppy disk) ls (<┘) cd /mnt/cdrom (<┘) (for cds) ls (<┘) After the use of the media, it is necessary to unmount it. To unmount the media, unmount (<┘) Mounted CD-ROM cannot be ejected before unmounting. The following command first unmounts the CD Drive and then ejects it. eject (<┘) Links There are two types of link available in Linux. Hard Link and Soft or Symbolic Link. The hard link establishes an additional filename for the existing file. Any modification made in one is reflected in both of them. Creating hard link does not take additional memory. Although we see two files, the same hard drive space is used for both. Symbolic links are different from hard links in the sense that a symbolic link is a pathname, or alias, to the original file. Nothing happens to the original file if you delete the symbolic link. To create hard link, ln (<┘) For directories, hardlinks cannot be created. To create symbolic link, ln –s (<┘) Searching Files There are two commands in Linux to search files in a directory and subdirectory. slocate: This command accesses the database containing filenames and location to find a file. syntax: slocate (<┘) find: This command scans the actual file system. syntax: find
[options] [action]

- dir is the directory name where file is to be searched.
- There are various options available with the find command. They are as follows:
-atime +/-N List files that were accessed more or less than N days ago
-mtime +/-N List files that were accessed more or less than N days
-user username List files owned by user in username
-size N[c] List files containing N blocks or if c is specified N characters long
-type filetypechar List files whose type is filetype character
File type characters :
d for directories
b for block device file
c for character device file
l for soft link
f for regular or normal file
-name pattern List files whose name matches to the pattern
-iname pattern Same as above but case sensitive

- action can be as follows
-exec command {} \;
or
-ok command {} \;
The exec action executes the specified command on the found files.
The ok action is similar to exec. The only difference is that, it is interactive in nature.

Compression Utilities

Compression utilities are used for saving disk space by compressing large, less often used files. The compression utilities in Linux are
- gzip , gunzip (By default, extension of the compressed file will be .gz )
- bzip , bunzip (By default, extension of the compressed file will be .bz2 )

To compress file
gzip (<┘) The compressed file is created in the current directory. The original file is deleted. gzip -c > (<┘) The original file is not deleted. bzip2 (<┘) bzip2 –c > (<┘) To uncompress file gunzip (<┘) The uncompressed file is created in the current directory. The original file is deleted. gunzip -c > (<┘) The original file is not deleted. bunzip2 (<┘) bunzip2 –c > (<┘) Archive Files (Backups) Taking regular backups is one of the most important tasks. Backup copies are essential when the system malfunctions and files are lost or when a user deletes a file accidentally. Backup files are usually kept on floppy or magnetic taps. Writable CDs are also used. One of the Backup Utilities provided by Linux is “tar”. The tar (tape archive) utility is used to store and retrieve files from a tape archive. Compression utilities could also be used to compress the archive, thus saving space. The archive can be written into hard drive, a tape drive, or nearly any other Linux device. syntax: tar [options] (<┘) . The following options are available for tar command: -c Creates a new archive -v Verbose -f Specifies filename -x Extracts file from archive -t Test (list files in archive) -z Use gzip compression utility -j Use bzip compression utility Here, ‘-‘ is optional. –c and –x can’t be used together. Tar always restores files in the current directory. To restore file, tar [options] (<┘) X-Window System and GUI Applications (introduction) An X-Window System is an application to provide GUI Environment. It is designed to be a machine/OS independent networked client/server program. As a result, the system is broken up into two major components: the X-Window server that runs on the machine and interacts with the monitor, hardware and the various clients. Component displaying is done by X-Client. X-Free86 Package is used in Linux for GUI environment. There are different window managers available with the X-Window System under Linux, each with different features. They are - gnome - KDE - TWM All these allow us to perform the basic operations. To switch between displays, we may use following command. If we are in run level 3, switchdesk (<┘) If we are in run level 5, then - click start - run program - switchdesk - select the display The various GUI applications available in Linux are as follows. Text Editors - xemacs - gvim - dedit - kwrite Web Browsers - mozilla - galleon - conqueror - lynx - links File Manager/Web Browser - nautilus Task Manager - Gnome-system-monitor FTP Client - gftp (to upload and download files) Graphics Manipulation Program - gimp IRC chat client - xchat Mail Clients - kmail - balsa - evolution - mozilla Office application - koffice - Gnome - OpenOffice Audio Application - xmms - gnome-volume-control - gnome-cd - mplayer for video CDs Develop Environment - kdevelop X-Configuration - redhat-config-xfree86 (Could be run in GUI or Text terminal) Input/Output Redirection By default, - the standard input device is keyboard - the standard output device is terminal window and - the standard error is also displayed in the terminal window. However, input can be taken from other sources like file itself and output can be passed to sources like printers or files etc. Such a process of changing the default assignment of input and output devices is called redirection. For output redirection, following command is used. command > (<┘) Redirects the output to the specified file in overwrite mode. command >> (<┘) Redirects the output to the specified file in append mode. command 2> (<┘) Redirects the error to the file in overwrite mode. command 2>> (<┘) Redirects the error to the specified file in append mode. For input redirection, command < (<┘) Redirects the input from the specified file. If the file does not exist, the shell will issue an error and abort the operation. For input and output redirection command < > (<┘) This command takes it’s input from the source and redirects the output to destination. Standard Input/Output Pipes Pipes help in performing multiple tasks in a single command line. A pipe takes output of a command as input to another command. The pipes are considered as temporary unnamed files stored in memory. This prevents the user from making temporary files using redirection. syntax: command1 | command2 | command3 (<┘) Here, the output of command1 acts as the input for command2. And the output of command2 is used as input to command3. The final output will be displayed on the standard output if the output redirection is not done. The ‘tee’ command This command is used to store an output of a command in a file as well as send it to another command as an input. For instance, ls –l | tee mylist | lpr (<┘) This command will store the output of ‘ls’ command in the file ‘mylist’ and also will send it the printer. String Processing and Filters The ‘wc’ command The wc command is used to count the number of lines, words or characters in a specified file. syntax: wc [options] (<┘) The options for the wc command are as follows: -l For line count -w For word count -c For character count The ‘cut’ command This command extracts one particular field from the specified file or output of any command. syntax: cut [options] (<┘) The options are -d Represents the delimiter or the field separator -f Used to specify the list of fields that have to be displayed -c Used to extract single character The ‘diff’ command This command compares two files for differences. If found, it displays the lines which are different. ‘<’ refers to the contents of first file ‘>’ refers to the contents of second file.
syntax:
diff (<┘) The ‘paste’ command This command merges the contents of two or more files into a single file. It reads a line from each file in the file list specified and combines them column-wise into a single file. The contents of the first file are displayed in first column. The contents of the second file are displayed in second column and so on. They are separated by tab by default. If we wish to change the delimiter, ‘-d’ option can be used as in cut command. syntax: paste (<┘) Example: paste > (<┘) This command merges file1 and file2. The merged file will be saved as newfile. The ‘tr’ command ‘tr’ stands for translate. This command reads standard input and, for each input character, maps it to an alternate character, deletes the character, or leaves the character alone. The output is written to the standard output. ‘tr’ does not take a filename as a parameter. But redirection operation could be used. syntax: tr ‘’ ‘’ (<┘) The ‘aspell’ command This command is used to check spelling in a file. syntax: aspell check (<┘) Filters Filters are used to extract the lines, which contain specific pattern, to sort, to find and replace etc. Filters are also used to store the intermediate results of a long pipe. The sort Filter The sort filter arranges the input taken in the alphabetic order. The original file remains unchanged. The options available with sort are -r Reverse alphabetic order -n Sorts according to the ascii value (numeric sort) -u or |uniq Stands for unique. Removes duplicates. This is case sensitive. -f The case distinction is ignored. -t x Use x as a field separator. The default field separator for sort is blank space or tab. -k pos Sorts from the field pos. syntax: sort [option] (<┘) The grep Filter ‘grep’ stands for “global search for regular expression”. It is used to search for a particular pattern from a file or standard input and display those lines on the standard output. syntax: grep (<┘) The ‘sed’ Filter ‘sed’ stands for stream editor. This command searches a particular pattern and replaces it with the replace string. But the changes are not reflected in the original file. syntax: sed ‘s/search-string/replace-string/g’ (<┘) The ‘g’ is used to replace all the search strings. If ‘g’ is not specified, the command will replace only the first occurrence of the search string in a line. The ‘awk’ An ‘awk’ is a scripting language. ‘awk’ program can be entered in a number of ways on the command line. It is also used for pattern recognition. One of the methods of searching a pattern using awk code is as follows. syntax: awk ‘pattern {action}’ (<┘) Example: ls –l | awk ‘$3==”user1” {sum+=$5} END {print sum}’ This command prints the total size of all the files under the ownership of user1. Process A process is the basic context within which all user-requested activity is serviced within an O.S. In Linux, every process runs under another process (called Parent Process). So, every process is a child process. At a time there can be maximum 32768 numbers of running processes and consequently there can be 1 to 32768 processIds. All the processes created after login is controlled by terminal. Init Process It is the process that is executed during the booting process in Linux. Its processId is 1. It is the first process that is executed in Linux and is situated in the directory /sbin/init. Init process does not have any parent process because it is directly run by Kernel. A process can be in following states: R Runnable S Sleeping T Stopped D Uninterruptible sleep (Not respondent task) Z Defunct (Zombie) process When child process ask parent process to release its processed, parent process acknowledges releasing the process Id. But, due to some reason, if child process doesn't receive the acknowledgement, it is not released and the resulting state is said to be the zombie state. Various commands related to the Process are as follows. • Viewing process ps command ‘ps’ stands for Process Status. It also displays the cumulative amount of time that the CPU has spent in the execution of the process. The options of ps command are, a display all processes excluding the processes not controlled by terminal. It displays four columns for process Id, terminal, time, and command. x displays all processes including the processes not controlled by terminal l long listing; includes more information such as process owner's id UID. u displays the user name of process owner • Running a process in the foreground To run the process in the foreground, simply type the command and press enter. • Running the process in the background To run the command in the background following syntax is used.] command & (<┘) • Suspending (Stopping) a foreground process To stop a foreground process, press Ctrl + Z (<┘) • Displaying the stopped and background process To display the stopped processes and the background processes, jobs (<┘) • To display the process hierarchy, following command is used. pstree (<┘) • Terminating a process We use KILL or TERM (default) commands to terminate a process. syntax: kill [ signal ] < PID | % JobID >
TERM sends process the message as 'terminate yourself'
KILL forcefully free the resources using that process.

• Resuming the processes
To resume the jobs in foreground,
fg (<┘) To resume the jobs in background bg (<┘) A process can have its priority form –20 to 19, -20 is the highest priority and 19 is the lowest priority. By default the priority of a process is 0. • Running a process with specifies priority syntax : nice –n priority command (<┘) Eg: nice –n 10 find / -ml (<┘) • Changing the priority of running program syntax: renice <-p PID | -u username> (<┘) The priority of the process having “PID” will be changed. renice <-u username | -u username> (<┘) The priority of the processes under “username” will be changed. Visual Editor(vi) The editors help in creating and editing files. The editor in an OS has the same importance as the editor of the newspaper. Linux offers various tuypes of editors like vi, ex, sed, ed etc. Among them, the vi editor is the most powerful and widely used in Linux environment. The vi editor functions in two different modes – the command mode, and the insert mode. In the command mode, any key pressed by the user is assumed as commands by the editor. No text is displayed on the screen when any key is pressed. The insert mode helps us to insert the text we want to. To invoke the editor, syntax : vi (<┘) To go to the insert mode from the command mode, press i To go to the command mode from the insert mode, press escape key In command mode the pressed character is the command. The characters that works as command in the command mode: i Insert before the cursor a Insert after the cursor o Open a line below I Insert at beginning of line A Append to end of line O Open a line above Saving and exiting from vi editor :w (<┘) save(write to disk) :w (<┘) if filename is not given :q (<┘) quit if saved :wq (<┘) ] or :x (<┘) or :zz (<┘) save and exit :q! (<┘) quit without saving :e! (<┘) abandon the changes and reload the last saved version Cursor movement The vi command involves alphabets and the shift and control keys.The cursor movement can be described as follows. h left j down k up l right w word ahead b word back ( sentence back ) sentence forward { paragraph back } paragraph forward To Change, Delete (cut), Yank (copy) texts, change delete yank line cc dd yy letter cl dl yl word cw dw yw paragraph above c{ d{ y{ paragraph below c} d} y} sentence back c( d( y} sentence foreward c) d( y) Paste p To paste after cursor/line P To paste before the cursor/ line Undo u undo most recent changes U undo all changes to the current line since the cursor loaded on the line Redo Ctrl + r (<┘) Searching the text /searchtext (<┘) searches the text in forward direction ?searchtext (<┘) searches the text in backward direction n continue search in the same direction N continue search in the opposite direction Search and replace :s/search text/replacetext/g searches and replaces on current line only : 1,$s/searchtext/replacetext/g searches and replace in entire file : . , .+10s/searchtext/replacetext/g searches and replaces on current line and 10 lines forward :8, 12s/ searchtext/replacetext/g searches and replaces on 8th lines through 12th lines. Configuring vi : set number[spelling] or nu Displays the line numbers : set nonunter or nonu Removes line number : set ignorecase (<┘) Ignores case :set noignorecase (<┘) Considers case Getting help :help (<┘) To come out of the help :q (<┘) Bash Shell and Shell Scripting A Shell provides features that enable it to be used as a programming language. A set of commands can be grouped together under a single filename and executed. This is referred to as Shell Scripting in Linux. It offer varied of facilities for effective programming. Various Shells in Linux are o sh (Bourne shell): developed by Stevene Bourne at AT & T o csh (C shell): developed by Bill Joy at Berkeley o ksh (Korn shell): developed by David Korn at AT & T o tesh (The Enhanced C shell): developed by community effort o bash (Bourne Again Shell): by GNU, bash is the mostly used shell. To know the currently using shell, press ctrl-X, ctrl-V It displays the current shell and its version. Creation of Shell Scripts A set of commands to be performed can be entered into a file by using any of the above editors or by using cat command. Execution of Shell Script A Shell Script can be executed using two methods. One is to type “sh ” at the command prompt.
The other method is to grant execute permission to the file and then type the file name at the prompt.



Variable
Variables can be
- shell variable
- environment variable
Shell variables are accessible within the shell only and environment variables are accessible within shell and its child shells as well.

The following commands display the list of variables
set (<┘) : Displays the list of shell variables as well as environment variables. env (<┘) : Displays the list of environment variables only. The # symbol The # symbol is used in the Shell scripts to insert comment lines. On execution, the comment line will be ignored. //**** Eg. $a=5 (<┘) It assigns the value 5 to the variable 'a'. No space in front and back of '=' is required as the space in command line is taken as an argument. 'Echo' command This command is used to display the definite value or string embedded in double quotation. Eg. $echo "Hello" (<┘) It displays the string “Hello” Eg. $a=5 $echo $a It displays the value of the variable 'a' as 5 If the user is in child shell then he cannot operate on shell variable, he has to return from child shell. To create child shell we use the command 'bash'. bash (<┘) To return from the child shell 'exit' command is used. exit (<┘) Export command To transfer the shell variable to environment variable 'export' command is used. export a (<┘) The variable 'a' is shell variable. $ps
If there is more than one bash then you are in child shell.

Eg: $a=10
$bash
$export a
$echo $a
10 is assigned to the variable 'a'. Child shell is created the shell variable is transferred to the environment variable and the value of 'a' is displayed.
$a=10
$bash
$echo $a
It doesn't displays the value of a. You need to return from child shell.
$a=10
$bash
$exit
$echo $a
$export b=6 is equvalent to $b=6
$export b

ps1 is predefined environment variable.
$echo $ps1 defines command prompt with some predefined value as [\u@\h \W]\$
where \u ->user name
\h -> Host name
\H -> Full Host name
\W -> directory
\$ -> normal user ****/


History Command
'history' command is used to display the latest commands those were used by the user. By default, it displays latest thousand commands. It is user specific command and can be viewed only after logout. The history file is saved in the directory ~/. bash_history.
( ~ is home directory of the user.path = /home/user1/. bash_history)
So, we can also read or edit the content of the file using the following command,
vi .bash_history (<┘) !! (<┘) executes last used command !x (<┘) repeats last used command started with 'x' !n (<┘) repeats a command by its number in history output !-n (<┘) repeats a command entered n commands back /************ Command line expansion Shell function; shell scripting ************/ Programming Structures Operators: 1. String operators: • –z string : Returns true, if zero length string • –n string : Returns true, if length of string is non-zero • string1 op string2 : Here op may be ‘=’ or ‘!=’ 2. Integer operators • Integer1 op Integer2 Here op may be as follows: -eq : equal to -ne : not equal to -lt : less htan -le : less or equal to -gt : greater than -ge : greater or equal to 3. File operators -e filename : Returns true if file exists -f filename : Returns true if regular (normal) file -d filename : Returns true if directory -b filename : Returns true if block device file -c filename : Returns true if character device file -r filename : Returns true if file has read permission -w filename : Returns true if file has write permission -x filename : Returns true if file has execute permission 4. Logical operator: -a : AND -o : OR Condition Syntax : test expression or [ expression ] Control Statements 1. if statement The if condition statements may be used in the following four ways. • if condition then statement fi • if condition then statement else statement fi • if condition then statement elif condition then statement elif condition then statement else statement fi • if condition then if condition then statement else statement fi else statement fi 2. Case Statements The case statement executes a shell script based on a choice. syntax: case variable in value 1) statements ;; value 2) statements ;; *) statements ;; esac 3. Loops The following sorts of loops are available for shell scripting in Linux. • for Loop It is used ot perform the same set of operations on a list of values. Syntax: for variable in list_of_values do statements done • while Loop The commands within it are executed repeatedly as long as the condition remains true. syntax: while condition do statements done • until Loop Here, the statements are executed until the condition is false. syntax: until condition do statements done Positional Parameters Linux accepts commands in the command line. A shell script can be made to accept arguments form the command line. Since the arguments represent their position, they are called positional parameters. The variables defined for the positional parameters are $# Count of arguments $* List containing arguments $0 Filename of the shell script $1 First argument $x xth argument (where 0 (<┘) : prints a named file. • lpr –P printer (<┘) : configures printer and prints the specified file. • lpq (<┘) : displays the queued print jobs. • lprm (<┘) : removes the queued print jobs. The various utilities related to printing are, • enscript : Converts text file into PostScript file • a2ps : Converts text file into PostScript file • ps2pdf : Converts PostScript file to PDF file • pdf2ps : Converts PDF file to PostScript file • ggv : It is used in GUI terminal to view PDF and PostScript files. Could be compared to Adobe Acrobat Reader. Mailing There are various mail programs that can be used in Linux to send and receive mails. In the text terminal, the following can be used. • mail • pine • mutt While in the GUI, the following applications can be used. • Kmail • balsa • evolution • mozilla To send mail using “mail” mail (<┘) subject: (<┘) (<┘) . (<┘) //This signifies the end of the text. cc: (<┘) To check mail mail (<┘) Basic Networking ping Command This command is used to check if there is a connection between any two computers. This command is also useful for verifying that your ISP’s IP addresses are valid and for testing the response times of your ISP’s host servers. Ping sends test packets of data and measures the time it takes for the host to send back the information. Syntax: ping (<┘)
Example:
ping 192.168.1.X where X is a machine-id

By default, ping will continue to send and receive information until we quit with
the following command:
Ctrl+C (<┘)

traceroute Command
This command is used if there is a network to network connection.

Example:
traceroute www.redhat.com (<┘)

Part A
Questions from this group have been asked in university exams up to 15 marks.
1. What are the three forms of business organization? Briefly explain them.
2. What is business activity? Explain with examples each types of business activity?
3. Who are the users of accounting information/ financial statement?
4. What is financial statement? Explain its objective and role. What are the ingredients of financial statement? Explain role of each ingredients.
5. What are the qualitative characteristics of accounting information/financial statements? Briefly explain each.
6. Explain GAAP. Briefly explain each principle of GAAP.
7. What is source document? Explain each of them briefly with their roles in accounting process.
8. What is voucher? Explain its kinds and role in accounting process?
9. Explain three systems of accounting.
Part B
5-10 marks
1. Explain the term accounting.
2. Explain fields in accounting.
3. Explain accounting profession.
4. Of the three types of business entity, which types provide maximum financial security to the owners? Substantiate your answer. What are the main documents of such entity?
5. Explain accounting standard and their role in preparation of financial statement.
6. Differentiate between accounting and book keeping?
7. What are the steps in accounting process?
8. Explain double entry book keeping system and its important features.

Wednesday, July 28, 2010

Social studies

Joint Examination Board
PABSON, Bhaktapur
Second Terminal Examinations - 2066
Class: VIII Time: 2 hrs. 15 Mins. F.M: 75
Subject: Social Studies P.M: 30


[Candidates are required to write answers in their own words. Credit will be given for creativity and are encouraged for it as well]

Group ‘A’
All questions are compulsory.


Very short answer questions: (1 x 20=20)

Q.N.1) Which two zones of Nepal are named after the mountains?
Q.N.2) What is a development region?
Q.N.3) Why is health considered as an infrastructure of development?
Q.N.4) What are the various sources of electricity?
Q.N.5) What is “Unity in Diversity”?
Q.N.6) Mention any two national heritages of Nepal that are enlisted in the World Heritage Site.
Q.N.7) Name the festivals observed by different communities in your country.
Q.N.8) Draw a picture that depicts social inequality.
Q.N.9) What are the two causes of social problem?
Q.N.10) When was the UNO conference on child rights held?
Q.N.11) Who exercises the executive power of Nepal?
Q.N.12) Name the two valleys of the Western Development Region.
Q.N.13) What symbols are used to show river and rope way in a map.
Q.N.14) When was king Prithivi Narayan Shah born?
Q.N.15) Name the two Sen kingdoms of eastern Nepal.
Q.N.16) Why was the Rana regime called the family rule?
Q.N.17) Mention the required climatic condition and soil for paddy production.
Q.N.18) How are the agriculture and industry inter-related? Give a reason.
Q.N.19) What is the official name of Germany?
Q.N.20) Why is America called the United States?


Group ‘B’

Short Answer questions: (3 x 9=27)


Q.N.21) What are the major problems in the development of roads in Nepal.
Q.N.22) Show the following statistics in a pie-chart.

Type of light Numbers of family
Electricity 1,644,499
Kerosene Lamp 2,386,293
Bio-gas light 8,075

Q.N.23) State three rights and duties of children.
Q.N.24) Make a list of work done by Gehendra Shamsher.
Q.N.25) “People become great by their deeds and not by their caste.” Justify the statement.
Q.N.26) Define social problems. List out any four solutions of the social problems.
Q.N.27) Describe three major functions of the Legislative.
Q.N.28) Describe the economic activities done in mid-western development region.
Q.N.29) How is France helping in the development of Nepal?

Group ‘C’

Long answer questions: (7 x 4=28)
Q.N.30) Define Heritage. List out any three importance of National Heritages. Also suggest at least three ways to conserve them.

Q.N.31) Draw a full page outline map of Nepal and insert the following items using proper symbols and scale.
(a) Nagarkot
(b) Araniko Highway
(c) Rara National park
(d) Gaurishankar Himal
(e) Kamala River.

Q.N.32) What kind of inspiration do we get from the biography of national and International personalities? Write a latter to your friend mentioning about the inspiration you have got from the biography of Madam Curie.
Q.N.33) What is meant by industry? List out any six infrastructures of industry and describe each of them.


‘Good Luck!’

Social studies

Joint Examination Board
PABSON, Bhaktapur
Second Terminal Examinations - 2066
Class: VIII Time: 2 hrs. 15 Mins. F.M: 75
Subject: Social Studies P.M: 30


[Candidates are required to write answers in their own words. Credit will be given for creativity and are encouraged for it as well]

Group ‘A’
All questions are compulsory.


Very short answer questions: (1 x 20=20)

Q.N.1) Which two zones of Nepal are named after the mountains?
Q.N.2) What is a development region?
Q.N.3) Why is health considered as an infrastructure of development?
Q.N.4) What are the various sources of electricity?
Q.N.5) What is “Unity in Diversity”?
Q.N.6) Mention any two national heritages of Nepal that are enlisted in the World Heritage Site.
Q.N.7) Name the festivals observed by different communities in your country.
Q.N.8) Draw a picture that depicts social inequality.
Q.N.9) What are the two causes of social problem?
Q.N.10) When was the UNO conference on child rights held?
Q.N.11) Who exercises the executive power of Nepal?
Q.N.12) Name the two valleys of the Western Development Region.
Q.N.13) What symbols are used to show river and rope way in a map.
Q.N.14) When was king Prithivi Narayan Shah born?
Q.N.15) Name the two Sen kingdoms of eastern Nepal.
Q.N.16) Why was the Rana regime called the family rule?
Q.N.17) Mention the required climatic condition and soil for paddy production.
Q.N.18) How are the agriculture and industry inter-related? Give a reason.
Q.N.19) What is the official name of Germany?
Q.N.20) Why is America called the United States?


Group ‘B’

Short Answer questions: (3 x 9=27)


Q.N.21) What are the major problems in the development of roads in Nepal.
Q.N.22) Show the following statistics in a pie-chart.

Type of light Numbers of family
Electricity 1,644,499
Kerosene Lamp 2,386,293
Bio-gas light 8,075

Q.N.23) State three rights and duties of children.
Q.N.24) Make a list of work done by Gehendra Shamsher.
Q.N.25) “People become great by their deeds and not by their caste.” Justify the statement.
Q.N.26) Define social problems. List out any four solutions of the social problems.
Q.N.27) Describe three major functions of the Legislative.
Q.N.28) Describe the economic activities done in mid-western development region.
Q.N.29) How is France helping in the development of Nepal?

Group ‘C’

Long answer questions: (7 x 4=28)
Q.N.30) Define Heritage. List out any three importance of National Heritages. Also suggest at least three ways to conserve them.

Q.N.31) Draw a full page outline map of Nepal and insert the following items using proper symbols and scale.
(a) Nagarkot
(b) Araniko Highway
(c) Rara National park
(d) Gaurishankar Himal
(e) Kamala River.

Q.N.32) What kind of inspiration do we get from the biography of national and International personalities? Write a latter to your friend mentioning about the inspiration you have got from the biography of Madam Curie.
Q.N.33) What is meant by industry? List out any six infrastructures of industry and describe each of them.


‘Good Luck!’

socila studies question collection

Joint Examination Board
PABSON, Bhaktapur
Second Term Exam - 2066
Class: X F.M: 100
Subject: Social Studies Time: 3 hrs. P.M: 40


Group 'A'

Very short answer questions: 8×1=8

Q.1 Almost 65% of all industries in Nepal are located in Central Development region only. What should be done to expand industry in other development regions of Nepal? Give any two suggestions.

Q.2 "WOMEN CANNOT DO ANY THING IMPORTANT, BUT CAN EARN A LOT FROM INDIA". Which problem is indicated by the given statement and how do you convince the person who has such feeling towards women? Write your answer with two convincing points.

Q.3 Who is the Minister for Education in the present Government? Which political party does s/he belong to?

Q.4 Give the reason why the northern sides of Nepali Mountains are cooler and drier than the southern slopes.

Q.5 Though Brazil is an industrialized country, it is not getting much profit from its industries. What is the major reason behind it?

Q.6 Which indexes (symbols) are used to denote the following geographical facts in a map?
a) River b) Pass

Q.7 What was the immediate cause of the World War I?

Q.8 Though many people were in favour of democracy, multi-party system lost the referendum of 2036 B.S. Why was it so in your opinion?


Group 'B'

Short answer questions: 14×4=56

Q.9 Write four points each of merits and demerits of Federalism in the context of Nepal.

Q10 Prepare a short conversation between two friends about the physical environment of Far Western Development Region.

Q.11 Mention any four legal provisions made for female upbringing in Nepal.

Q.12 Show the following data of social research of Rita's community in a bar graph:

Area of questioning Men Women
No. attending university 7 3
No. attending adult education 6 9
No. reading newspaper 4 2
No. Listening radio 4 2

Q.13 Write the folk song you like most. How does a folk song reflect the society and its culture? Justify in reference to your song.

Q.14 What do you learn from the life of Hellen Keller and Stephen Hawking? What are the Contributions of these personalities to the present world? Answer in brief.

Q.15 Give a short introduction to the international organization indicated by the given Logo? What helps has Nepal got from it?

Q.16 Prepare an article to be published in newspaper including your attitude about the effects of dowry system.

Q.17. Make a list of any four duties of yourself about how can you help the Election Commission to make the election a successful event.

Q.18 Differentiate between the Tropical Monsoon Climate and the Tropical Desert Climate.

Q.19 Show the following historical events in a time line with appropriate scale:

BS 2036: Students Movement and declaration of referendum
BS 2046: People's Movement I
BS 2052: Maoists started their armed conflict
BS 2061: Gyanendra took into his hands the absolute executive power

Q.20 Would you like to go for foreign employment? Justify your answer giving four logics.

Q.21 Write the names of the organs of UNO. Introduce in short about any one of them.

Q.22 Nepal has remained an important part of UN Peace Keeping force that is mobilized to help countries in the peaceful resolution of conflict. Explain how Nepal should also maintain peace and order within itself.



Group 'C'

Long answer questions: 4×9=36

Q.23 What is political party? Describe the history of political parties in establishing democracy and people's power in Nepal since 2007 BS up to present.
Q.24 Draw an outline map of Nepal and show therein the following geographical facts: (3+6)

Mt. Kanjirowa, Mahendranagar, Siddhartha Highway, Tilicho Lake, Sagarmatha National Park and Kankai River.

Or
In the given map of Africa fill the given geographical facts using appropriate signs and symbols: 9×1=9

Rift Valley, Kalahari Desert, Mt. Kilimanjaro, Mogadisu, Mediterranean Climatic Region, River Niger, Sahel Region, Equator and Cape Town.

Q.25 Describe any five causes and four consequences of the Second World War.
Or

You must have visited a historical and culture place. On the basis of your visit prepare a report with the help of the following subtitles.

i) Place visited ii) Objective of study
iii) Methodology iv) Findings
v) Conclusion and suggestion

Q.26 Write the possibilities of development of tourism industry in Nepal. What are the barriers of development of tourism in Nepal? Explain with examples.

Best of Luck!

Social Studies

Joint Examination Board
PABSON, Bhaktapur
Second Term Exam - 2066
Class: IX F.M: 100
Subject: Social Studies Time: 3 hrs. P.M: 40

[Examinees are required to give their answers in their own words as far as practicable. Priority will be given to creative answers.]


Group 'A'


Very short answer question: 8×1=8

Q.1 Why is Nepal called a developing country? Give your answer in two points.
Q.2 Mention any two points to solve the problem of unemployment in Nepal.
Q.3 What do you mean by 'Right to Constitutional Remedy'?
Q.4 Why is International Date Line not straight?
Q.5 Name any two developed countries of East Asia. Give a reason why they are very developed.
Q.6 Draw conventional symbols to indicate roadway and ropeway in a map.
Q.7 Which war is known as "Anglo-Nepal War" in the history of Nepal?
Q.8 If you were Prithivi Narayan Shah, would you start the campaign of unification? Why? Give your answer in a single sentence.



Group 'B'

Short answer questions: 14×4=56
Q.9 What is sustainable development? Mention any three advantages of sustainable development in the context of Nepal.
Q10 Write a paragraph of about 60 words giving the examples of any four changes that have been seen in your locality for the last 10 years.
Q.11 Why is transportation system known as the backbone of development? Justify your answer giving appropriate logics.
Q.12 Show the following data of the literacy rate in a bar graph:

List of countries Literacy Rate
Nepal 54
USA 99
Burundi 59
China 91
Russia 99

Q.13 The followers of Hindu religion make sacrifice of animals to their deities. Do you like this practice or you suggest some reformations? Write with proper suggestions.
Q.14 Draw a specimen picture of Pagoda style of architecture and mention any two characteristics of Pagoda architecture.
Q.15 'Aama Samuha' operating in different places have very important role in eradicating social problems. Prepare a news article about the contribution made by an 'Aama Samuha" in your locality to reform the society.
Q.16 Write the name of any four national organizations working in Nepal for social reformation with their activities.
Q.17. If you were a member of Constituent Assembly, what fundamental rights would you purpose to add in the Constitution? Write any four rights with the reasons.
Q.18 Every eastward the time is 1 hour earlier so that when it is 2 pm in London, it is 8 pm in Dhaka. At this time, what do clocks in Manila ( E) say?
Q.19 Write a consolation letter to your friend who failed in an examination, describing the nature of Prithivi Narayan Shah who was not discouraged at the first time defeat.
Q.20 Look at the following pictures and answer the given question:






a) What kind of countries do the pictures represent?
b) Describe the economic activities of people living in those countries.
Q.21 Write four points each of merits and demerits of science and technology development in human life.
Q.22 What kinds of benefits do developing countries like Nepal get from the foreign assistance? Mention any four benefits.

Group 'C'

Long answer questions: 4×9=36
Q.23 What are the different types of duties of citizens? Briefly describe about the civil duties of citizens.
Q.24 Draw a full page outline map of Nepal and insert the following items using appropriate signs and symbols: (3+6=10)
Mahendra Highway, Jumla, Tilicho lake, Mt. Everest, Koshi Tappu, Wild Life Reserve and Tea growing area.
Or
In the given map of Asia fill the following items:
Lake Baikal, Red sea, Himalayan Mountains, Tokyo, Hwang Ho River, Java Island, Taiga belt, Sri Lanka and Mongolia.
Q.25 Describe the causes of Anglo Nepal war. Why is Balbhadra Kunwor Known as 'The Hero of Khalanga'?
Q.26 Differentiate between internal and external trade in 4 points. List and briefly describe any five problems of Nepal's external trade.


The end

Social Studies

Joint Examination Board
PABSON, Bhaktapur
Second Term Exam - 2066
Class: IX F.M: 100
Subject: Social Studies Time: 3 hrs. P.M: 40


Group 'A'
Very short answer questions: 8×1=8

Q.1 Why is Nepal called a developing country? Give your answer in two points.
Q.2 Mention any two points to solve the problem of unemployment in Nepal.
Q.3 What do you mean by 'Right to Constitutional Remedy'?
Q.4 Why is International Date Line not straight?
Q.5 Name any two developed countries of East Asia. Give a reason why they are very developed.
Q.6 Draw conventional symbols to indicate roadway and ropeway in a map.
Q.7 Which war is known as "Anglo-Nepal War" in the history of Nepal?
Q.8 If you were Prithivi Narayan Shah, would you start the campaign of unification? Why? Give your answer in a single sentence.

Group 'B'
Short answer questions: 14×4=56

Q.9 What is sustainable development? Mention any three advantages of sustainable development in the context of Nepal.
Q10 Write a paragraph of about 60 words giving the examples of any four changes that have been seen in your locality for the last 10 years.
Q.11 Why is transportation system known as the backbone of development? Justify your answer giving appropriate logics.
Q.12 Show the following data of the literacy rate in a bar graph:

List of countries Literacy Rate
Nepal 54
USA 99
Burundi 59
China 91
Russia 99

Q.13 The followers of Hindu religion make sacrifice of animals to their deities. Do you like this practice or you suggest some reformations? Write with proper suggestions.
Q.14 Draw a specimen picture of Pagoda style of architecture and mention any two characteristics of Pagoda architecture.
Q.15 'Aama Samuha' operating in different places have very important role in eradicating social problems. Prepare a news article about the contribution made by an 'Aama Samuha" in your locality to reform the society.
Q.16 Write the name of any four national organizations working in Nepal for social reformation with their activities.
Q.17. If you were a member of Constituent Assembly, what fundamental rights would you purpose to add in the Constitution? Write any four rights with the reasons.
Q.18 Every eastward the time is 1 hour earlier so that when it is 2 pm in London, it is 8 pm in Dhaka. At this time, what do clocks in Manila ( E) say?
Q.19 Write a consolation letter to your friend who failed in an examination, describing the nature of Prithivi Narayan Shah who was not discouraged at the first time defeat.
Q.20 Look at the following pictures and answer the given question:


a) What kind of countries do the pictures represent?
b) Describe the economic activities of people living in those countries.
Q.21 Write four points each of merits and demerits of science and technology development in human life.
Q.22 What kinds of benefits do developing countries like Nepal get from the foreign assistance? Mention any four benefits.


Group 'C'
Long answer questions: 4×9=36
Q.23 What are the different types of duties of citizens? Briefly describe about the civic duties of citizens.
Q.24 Draw a full page outline map of Nepal and insert the following items using appropriate signs and symbols: (3+6=10)
Mahendra Highway, Jumla, Tilicho lake, Mt. Everest, Koshi Tappu, Wild Life Reserve and Tea growing area.
Or
In the given map of Asia fill the following items:
Lake Baikal, Red sea, Himalayan Mountains, Tokyo, Hwang Ho River, Java Island, Taiga belt, Sri Lanka and Mongolia.
Q.25 Describe the causes of Anglo Nepal war. Why is Balbhadra Kunwor Known as 'The Hero of Khalanga'?
Q.26 Differentiate between internal and external trade in 4 points. List and briefly describe any five problems of Nepal's external trade.


The end

Joint Examination Board
PABSON, Bhaktapur
Second Term Exam - 2066
Class: X F.M: 100
Subject: Social Time: 3 hrs. P.M: 40


Group 'A'
Very short answer question: 8×1=8

Q.1 Almost 65% of all industries in Nepal are located in Central Development region only. What should be done to industries other development regions of Nepal? Give any two suggestions.
Q.2 "WOMEN CANNOT DO ANY THING IMPORTANT, BUT CAN EARN A LOT FROM INDIA". Which problem is indicated by the given statement and how do you convince the person who has such feeling towards women? Write your answer with two convincing points?
Q.3 Who is the Minister for Education in the present Government? Which political party does s/he belong to?
Q.4 Give the reason why the northern sides of Nepali Mountains are cooler and drier than the southern slopes?
Q.5 Though Brazil is an industrialized country, it is not getting much profit from its industries? What is the major reason behind it?
Q.6 Which indexes (symbols) are used to denote the following geographical facts in a map?
a) River b) Pass
Q.7 What was the immediate cause of the World War I?
Q.8 Though many people were in favour of democracy, multi party system lost the referendum of 2036 B.S. Why was it so in your opinion?

Group 'B'
Short answer questions: 14×4=56

Q.9 Write four points each of merits and demerits of Federalism in the context of Nepal.
Q10 Prepare a short conversation between two friends about the physical environment of Far Western Development Region.
Q.11 Mentions any four legal provisions made for female upbringing in Nepal.
Q.12 Show the following data of social research of Rita's community in a bar graph:

Area of questioning Men Women
No. attending university 7 3
No. attending adult education 6 9
No. reading newspaper 4 2
No. Listening radio 4 2

Q.13 Write a folk song you like most. How does a folk song reflect the society and its culture? Justify in reference to your song.
Q.14 What do you learn from the life of Hellen Keller and Stephen Hawking? What are the Contribution of these personality to the present world? Answer in brief.
Q.15 Give a short introduction to the international organization indicated by the given Logo? What helps has Nepal got from it?

Q.16 Prepare an article to be published in newspaper including your attitude about the effects of dowry system.
Q.17. Make a list of any four duties of yourself about how can you help the Election Commission to make the election a successful event.
Q.18 Differentiate between the Tropical Monsoon Climate and the Tropical Desert Climate?
Q.19 Show the following historical events in a time line with appropriate scale:
BS 2036: Students Movement and declaration of referendum
BS 2046: People's Movement I
BS 2052: Maoists started their armed conflict
BS 2061: Gyanendra took into his hands the absolute executive power
Q.20 Would you like to go for foreign employment? Justify your answer giving four logics.
Q.21 Write the names of organs of UNO. Introduce in short about any one of them.
Q.22 Nepal has remained an important part of UN Peace Keeping force that is mobilized to help countries in the peaceful resolution of conflict. Explain how Nepal should also maintain peace and order within itself.



Group 'C'
Long answer questions: 4×9=36
Q.23 What is political party? Describe the history of political parties is establishing democracy and people's power in Nepal since 2007 BS up to present.
Q.24 Draw an outline map of Nepal and show therein the following geographical facts: (3+6)
Mt. Kanjirowa, Mahendranagar, Siddhartha Highway, Tilicho Lake, Sagarmatha National Park and Kankai River.
Or
In the given map of Africa fill the given geographical facts using appropriate signs and symbols: 9×1=9
Rift Valley, Kalahari Desert, Mt. Kilimanjaro, Mogadisu, Mediterranean Climatic Region, River Niger, Sahel Region, Equator and Cape Town.
Q.25 Describe any five causes and four consequences of the Second World War.
Or
You must have visited a historical and culture place. On the basis of your visit prepare a report with the help of the following subtitles.
i) Place visited ii) Objective of study
iii) Methodology iv) Findings
v) Conclusion and suggestion
Q.26 Write the possibilities of development of tourism industry in Nepal. What are the barriers of development of tourism in Nepal? Explain with examples.


The end

Social Studies

Joint Examination Board
PABSON, Bhaktapur
Second Terminal Examinations - 2066
Class: V Time: 2.30 hrs F.M:100
Subject: Social Studies P.M: 40



Group ‘A’

Q.1 Choose the correct alternatives (5)
a. We should conserve our natural sources because they are our……..
i. identity ii. artistic iii. rich sources
b. The … is a kind of anti-social activity.
i. dancing ii. gambling iii. playing
c. There are ….. SOS villages
i. 1553 ii.5135 iii. 1535
d. Imitate action is …. …. habit
i. good ii. worse iii. copying
e. Sugar is produced in……
i. Birgunj ii. Pokhara iii. Illam

Q.2 Fill in the blanks with correct alternatives (5)

a. Nepal Red Cross society was founded by………….
b. …… is mainly found in the northern mountain region.
c. Yalamber was the first ….. king of Nepal.
d. ………. of a place is influenced by climate.
e. The Terai region lies in …….. of Nepal.

Q.3. Write ‘T’ for true statement and ‘F’ for false statement (5)

a. We should involve our neighbors in our ceremonies and festivals.
b. The Hilly region is colder than mountain region.
c. Swoyambhunath temple is an example of a monument.
d. Gopal period is known as golden period.

Q.4 From which type of industry the following things are made ? (5)

a. Sugar b. Radio c. Wheat d. Utensils e. Jute

Q.5 Correct the given statements (5)

a. Dashain is a cultural festival
b. Nepal Red Cross society was established in 1936 A.D
c. Pine is found in Hilly region
d. Thick woolen clothes is worn in Terai region
e. 17% of total land is occupied by Mountain region

Group ‘B’

Q.6 Answer the following questions (any 15) (3x5=15)

a. Why is Terai region called “Granary of Nepal?”
b Define Alluvial soil.
c. What are the effects of imitating forign culture?
d. Why should we use domestic goods?
e Why do we need social service organizations?
f. Why was Nepal scout formed?
g. What are the differences between large scale industry and cottage industry?
h. Name different religions who lived in Mountain region.
i. What crops and vegetables are grown in Rocky sandy soil?
j. What are the advantages of natural vegetation of Nepal?
k. What are the causes of anti-social activities?
l. Why is Lichchhavi period called the golden period?
m. How do festivals bring a change in our monotonous life?
n. What are the ways to preserve our national heritages?
o. In what two ways do we treat people equally?

Group ‘C’

Q.7 Give long answer (any 4) [4x7=28]

a. Differentiate the items according to the place of production such as cottage industry or large industry:
sugar, tv, cement, doko, pakhi, cloths, computer, shoes , utensils, noodles, nanglo, radi, sukul, churpi

b. Draw an outline map of Nepal and show the following with the help of suitable index
i. Pokhara ii. Mt. Everest iii. Araniko highway
iv. Mechi river v. Pasupatinath temple

c. What are the measures should be taken to protect ourselves from anti- social activities?

d. Complete the following:

Geographical region Climate Types of forest Species of trees
Very cold throughout the year, there is snowfall in winter. fir,spruce
Tropical evergreen forest
Moderate .it is not so hot and not so cold




e. “Nepal is a common garden of all people” give reasons

f. Study the figure and answer the following:


i. What does the figure indicate?
ii. Who was the founder of the organization?
iii. When was it established in Nepal?
iv. Write one service given by it.

Best of Luck !

MARKING SCHEME
Q.1.(1 mark for each)
a. identity
b. gambling
c. 1535
d. good
e. Birgunj

Q.2 (1 mark for each )
a. Jean Henry Dunant
b. Debris soil
c. Kirant
d. Natural vegetation
e. Southern part

Q.3 (1 mark each)
a. T b. F c. T d. F e. F

Q.4 (1 mark for each)
a. Large scale industry
b. Industry
c. Agro based industry
d. Cottage industry
e. Agro based industry

Q.6 (1 mark for each corrected answer)
a. Dashain is a religious festival
b. Nepal Red Cross society was established in 1963 A.D
c. Uttis is found in Hill region
d. Thin cotton clothes are in Terai region
e. 15% of land is occupied by Mountain region

Q.7 (3 marks for each answer)
a. any correct answer
b. any correct answer
c. self-reliance, being independent, hard working or any correct answer with short definition of each point
d. any correct answer
e. any correct answer
f. any correct answer
g. any correct answer
h. sherpa, thakali, manangi, or any other correct religions
i. potato, maize, millet, or any other crops
j. any correct answer
k. illiteracy, poverty, unemployment or any other correct reasons
l. any correct answer
m. any correct answer
n. any correct answer
o. any correct answer

Q.7
a. 0.5 mark for each correct differentiate
b. 4 marks for plotting and 3 marks for outline
c. 1 mark for each point
d.
Geographical region Climate Types of forest Species of trees
Mountain region Question Evergreen coniferous forest Question
Terai region Very hot and plenty of rain during summer Question Sal, sisau, okhar
Hill region Question Deciduous forest Question


e. any correct answer

f.
a. SOS (1 mark)
b. Dr. Herman Gmeiner (2 mark)
c. 1973 A.D (2 mark)
d. they provide education and health service to orphans (2 mark)

class 8 science question collection

Joint Examination Board
PABSON, Bhaktapur
Second Term Exam - 2066
Class: VIII F.M: 75
Subject: Science Time: 2.30 hrs. P.M: 30


Physics

Q No. 1) Define fundamental unit. Write SI unit of density and current.
(1+1)
Q No.2) Define relative motion. Write the formula of acceleration and velocity. (1+1)
Q No.3) Winding roads are made in hills. Why? Classify see-saw and shovel. (1+1)
Q No.4) Write two differences between barometer and pressure gauze. (2)
Q No. 5) What do you mean by power? Write one difference between potential and kinetic energy. (2)
Q No.6) What type of energy is possessed in the following actions? (2)
a) Leg lifted to kick ball c. Burning matchstick
b) Ringing bell d. Bread
Q No.7) What effect is seen in kinetic energy possessed by body when its velocity is tripled? Show mathematically. (2)

Q No.8) What are the temperatures of the boiling and freezing water in Fahrenheit and Centigrade scale in the sea level? (2)
Q No.9) Kink is made near the bulb of clinical thermometer, why? (2)
Q No.10) Define refraction of light. Write one use of concave mirror. (2)
Q No.11) Write any two differences between converging mirror & diverging mirror. (2)
Q No.12) Study the given figure and answer the followings. (2)




i) Name AB & BC.
ii) Which one is rarer & which is denser medium?
Q No.13) Write energy conversion by radio and microphone. Ram lifts a weight of 50 kg to a height of 10m in 2m. Shyam lifts the same weight to same height in 3 minutes. By how much, power of Ram is greater than that of Shyam? (2+3)
Q No. 14) What types of images are formed by a concave mirror when an object is placed
i) between C and F ii. between F and P
Also write one nature of image in each. (2.5+2.5)

Chemistry
Q No.15) Write molecular formula of Calcium carbonate and Magnesium chloride by criss-cross method (2)
Q No.16) Name the methods of separation for following mixtures (2)
a) Rice and husk c. Alcohol and water
b) Cream from butter d. Red ink & black ink

Q No.17) Write two differences between Acid & Base. (2)
Q No.18) Name any two alkalis. Make a table to show indicator tests for acid & base. The indicators used are red & blue litmus, methyl orange and phenolphthalein. (1+4)
Biology
Q No.19) Define National Park. Name any two national parks of Nepal. (2)
Q No.20) Define cross pollination. Give an example of complete and incomplete flower each. (1+1)
Q No.21) Classify the pine with one major characteristic. ( 2)
Q No.22) Write two differences between pollination and fertilization. ( 2)
Q No.23) Draw a labeled diagram of mustard flower. (2)
Q No.24) Define hermaphrodite. Give two examples. (2)
Q No.25) Why are arthropods found abundant in environment? (2)
Q No.26) Write two differences between silverfish and starfish. Write the name of phylum of liver fluke and Unio with one major character. (2+3)

Geology & Astronomy

Q No. 27) Classify the following rocks. (2)
a. Obsidian c. Limestone
b. Slate d. Graphite
Q No. 28) Plutonic rocks are hard in nature, why? Write one example of such rock. (1.5+0.5)
Q No. 29) Which layer of atmosphere is also called protective shield? Why?
(0.5+1.5)

Q No.30) Write two differences between exosphere and stratosphere. Draw a neat labeled diagram of different layers of atmosphere. (2+3)

Pre.Vocational question collection

Joint Examination Board
PABSON Bhaktapur
Second Terminal Examination 2066
Class : 8 FM:50
Subject Pre.Vocational Time 1.30 hrs PM :20
Students need to attempt any two sections
Section 1(Accounting)
A Answer the following question (2×10=20)
1. What is book keeping?
2. Define ‘Debit’ and ‘Credit’ with example.
3. What is meant by Journal? Write any two objectives of it.
4. Show any two differences of journal and ledger.
5. Give a specimen of a ledger.
6. What is office? Write any two important of it.
7. Why supervision of works is necessary in office?
8. Write rules of debit and credit of personal account.
9. What do you mean by Entry and Dispatch?
10. Define double entry book keeping system.

B Answer the following questions (2.5×2=5)
11. Journalize the following transaction in the names Rukesh Enterprises
a) Purchased Pala of Rs 2000 from Samrat Ceramics on 2066-07-05
b) Paid rent of house Rs. 3500 on 2066- 07- 09
12. Sketch a model of Entry book used in office with example.
Section 2(Agriculture)
A Answer the following question (2×10=20)
1. What is agronomy?
2. Write any two importance of Kitchen Gardening.
3. What is the use of manures and fertilizers for the vegetable farming?
4. What are cereal crops? How does it differ from cash crops?
5. “Paddy is main crop in Nepal” Explain.
6. Describe in short about Leghorn breed of chicken.
7. List any four improved varieties goats.
8. Write any four importance of fruit farming.
9. Describe about rose farming.
10. Explain the sugarcane as the cash crops.

B Answer the following questions (2.5×2=5)
11. Describe the ‘jersey cow’
12. Write any five measures should be applied for keeping animals healthy.

Section 3(Clothing and Knitting)
A Answer the following question (2×10=20)
1. What is clothing?
2. Mention any four advantages of tailoring.
3. What is Stitch? Write types of it.
4. Why is the handkerchief essential?
5. List the essential materials for making handkerchief.
6. What is table post? Write any two importance of it.
7. Explain utilities of Kisti covering handkerchief.
8. How do you repair clothes?
9. Write the method of putting a button.
10. What are the different methods of filling clothes?

B Answer the following questions (2.5×2=5)
11. Describe the method of making handkerchief.
12. Write down any five things to be considered while taking measurement?
Section 4 (Wood Work)
A Answer the following question(2×10=20)
1. Explain the uses of saw in wood work.
2. Write down any four things to be considered while measuring tape?
3. Why is the construction of instrument needed before preparing wood materials?
4. How is saved of adze?
5. Describe in short about utilities of book rack.
6. Write any four function of name plate.
7. Write the methods to make Dalo of plywood.
8. Draw a figure chisel (Ramo) showing its different parts.
9. Give a short introduction of claw hammer.
10. How can we take care of Saw?

B Answer the following questions (2.5×2=5)
11. How is book rack made?
12. Write down the methods of making duster whose lengths and breadths are 6” and 2.5” respectively.
Best of luck



Marking scheme Class: 8
Subject: Pre. Vocational
Section 1 Accounting
1. For the correct meaning of book keeping ..........1Marks
2. For the meaning with example of debit...1 Marks
For the meaning with the example of credit......1 Marks
3. For the correct meaning of journal.........1 Marks
For the any two objectives.......0.5+0.5 Marks
4. For the any two difference of journal and ledger ........1+1 Marks
5. For the correct specimen of ledger................2 Marks
6. For the correct meaning of office.........1 Marks
For the two importance of office.........0.5+0.5
7. For the necessary description of supervision ...........2 Marks
8. For the correct meaning of Entry..........1 Marks
For the correct meaning of Dispatch...........1 Marks
9. For the rule of debit of personal account ......1 Marks
For the rule of credit of personal account ......1 Marks
10. For the correct meaning of double entry book keeping system
11. For the correct format of Journal ...................0.5 Marks
For the correct entry of two transactions .................1+1
12. For correct sketch a model of Entry book.................1 Marks
For the example presented in the book ...................1.5 Marks
Section2 (Agriculture)
1. For the correct meaning of agronomy............2 Marks
2. For the four advantages of kitchen garden ...........0.5×4 =2 Marks
3. For answer according to composition..............2 Marks
4. For the meaning cereal crops ........1 Marks
For the any two difference of cereal and cash crops ...0.5+0.5 Marks
5. For the explanation according to composition...........2 Marks
6. For the short description of leghorn ............2 Marks
7. If a list of four varieties of goat prepared........... 0.5×4 =2 Marks
8. For the four importance of fruit production..... 0.5×4 =2 Marks
9. Description of rose farming according to composition .................. 2 Marks
10. Description of sugarcane according to composition .................. 2 Marks
11. Description of jersey cow according to composition .................. 2.5 Marks
12. If five measures are written................... 0.5×5=2.5 Marks
Section 3 (Clothing and Knitting)
1. For the correct meaning of clothing.................2Marks
2. For four advantages of tailoring.................0.5×4=2 Marks
3. For the meaning of stitch................. 1Mark
For the types stitch 0.5×2=1 Mark
4. For the composition according to question.........2Marks
5. If the list of essential materials for making handkerchief is prepared.........2 Marks
6. For the correct meaning of table post...................1 Mark
For the two importance of table post.............1 Mark
7. For the explanation of utilities of Kisti covering handkerchief..........2 Marks
8. For the composition according to question......... 2 Marks
9. For the correct method of putting a button....... 2 Marks
10. If four methods are mentioned................ 0.5×4=2 Marks
11. If the methods of making handkerchief are written................. 2.5 Marks
12. If five appropriate things are written...................0.5×5=2.5 Marks

Section 4 (Wood Work)
1. For appropriate use of saw....................2 Marks
2. For four things written................ 0.5×4=2 Marks
3. For the composition according to question......... 2 Marks
4. For the composition according to question......... 2 Marks
5. For appropriate description of utility of book rack...............2 Marks
6. For the four function of name plate.............0.5×4=2 Marks
7. For the appropriate method of making Dalo............2 Marks
8. For the figure of chisel................1Mark
For the different parts....................1 Mark
9. For the composition according to question......... 2 Marks
10. For the composition according to question......... 2 Marks
11. For the appropriate description.................2.5 Marks
12. If appropriate methods of making duster is written...........2.5 Marks

Population and Environment Education

Joint Examination Board
PABSON, Bhaktapur
Second Term Examination-2066
Time: 1Hr, 30 Mins.
Class: VIII FM :50
Subject: Population and Environment Education PM: 20
Time: 1hr 30 mins

Attempt all the questions
Group A
Short answer questions: 10×2=20
Q.No.1.Write any four effects on environmental caused by human activities.
0.5×4=2

Q.No.2.Write any four causes of environmental degradation. 0.5×4=2

Q.No.3.Define Migration. Name the types of migration. 1+1=2

Q.No.4.Define birth and death. 1+1=2

Q.No.5.Name the world cultural heritages of Nepal. 0.25×8=2

Q.No.6.Why are National parks and Wildlife Reserves established? (Give any
four reasons) 2

Q.No.7.Enlist the causes of deforestation. (Any four points) 2

Q.No.8.What are the major causes of population decrease? (Any four points)
0.25×4=2
Q.No.9.How does population growth affects the health services. 2

Q.No.10. What are the factors that have an adverse effect on the quality of
life. 2



GROUP B
Give long answers for the following questions
Q.No.1. People from village prefer to migrate to town. Justify. 5

Q.No.2.Calculate TFR with the help of the following information: 5
Age group 15-19 20-24 25-29 30-34 35-39 40-45 45-49
ASFR/Thousand 1996 115 219 340 135 164 105 60


Q.No.3. What are the major causes of population growth? Describe any two
in detail. 5

Q.No.4.How can you control pollution? 5

Q.No.5. What steps are to be taken to protect our cultural heritages? Explain.
5

Q.No.6.Describe the factors required for quality of life. 5

Population Education question paper in nepal

Joint Examination Board
PABSON, Bhaktapur
Second Terminal Examination – 2066

Class: X Time: 3 hrs. F.M: 100
Subject: Population Education P.M: 40

[Candidates are required to write answers in their own words. Credit will be given for creativity and are encouraged for it as well.]

Group A

Attempt any 16 questions from this group (5x16)

1. What is family life education? Mention any three of its objectives.
2. When is the beginning of family life? Explain briefly the family life cycle with example.
3. Classify the importance of family life education.
4. What is the difference between early marriage and late marriage? Write disadvantages of early marriage.
5. Mention any five conditions in which second marriage is not prohibited according to the marriage act of Nepal.
6. How does migration affect adversely in human life? Discuss.
7. What is reproductive health? Make a list of eight aspects of reproductive health.
8. What do you mean by family planning? Describe its objective.
9. Differentiate laparoscopy and minilap.
10. Discuss micro nutrient and macro nutrient with example.
11. Differentiate:
a. Immigration and Emigration
b. Pull Factors and Push factors
12. Write a short notes on:
a. Night blindness
b. Rickets.
13. Mention any five reasons of high infant and child death rate in Nepal.
14. How do women education and employment help to control population growth? Discuss it.
15. What is natural contraception? Discuss calendar method.
16. What is Iron Deficiency anemia? Mention its causes and symptoms.
17. What is impact of religious belief like preference of son on population growth? Clarify.
18. Write short notes on:
a. Children the gift of god.
b. Conception.
19. Son is given more important in Nepalese society. Why?
20. Show the immunization schedule for both mother and baby.



Group B

Attempt any two questions (10x2)
21. What is Goiter? Describe its cause, symptoms and controlling measures.
22. Mention any five objectives needed to be empowered the women and explain any five challenges of women empowerment.
23. Define safe method and what major consideration so as to provide safe motherhood service? Mention.



Best of Luck!

Population Education's question collection

Joint Examination Board
PABSON, Bhaktapur
Second Terminal Examination – 2066

Class: IX Time: 3 hrs. F.M: 100
Subject: Population Education P.M: 40

[Candidates are required to write answers in their own words. Credit will be given for creativity and are encouraged for it as well.]


Group 'A' [16x5]

Short answer questions: (Attempt any 16 questions)

1. Why do we study population education? Give any five reasons.
2. Why is population education a multidimensional educational process?
3. Mention the scopes of population education and describe any two of them.
4. List out the characteristics of the Malthusian population theory.
5. Define census. Also, mention its advantages.
6. List out the characteristics of population and explain any two of them.
7. Explain the historical stage of population growth with its figure.
8. Explain the population situation of Nepal.
9. Compare the population situation of Nepal with India.
10. Explain how population pyramid is constructed.
11. Show the composition of population of Nepal on the basis of age and sex.
12. Write short notes on:
a) Dependent population
b) population composition by occupation
13. List out the major elements that affect fertility with examples.
14. What do you mean by migration? Explain.
15. Explain briefly the problems created by urbanization.
16. Describe the population policy of Nepal in brief.
17. Differentiate between:
a) Fertility and Fecundity
18. List out the five effects of industrialization.

Group 'B' [10x2]
Long answer questions: (Any two)
19. What are the causes of population growth? Explain each of them.
20. What is Industrial pollution? Mention the short term and long term measures of controlling industrial pollution.
21. Explain the experiences of People's Republic China in controlling population growth.



Best of Luck!