Wednesday 2 November 2016

July, 2011 A8-R4: BASICS OF OS, UNIX AND SHELL PROGRAMMING

 July, 2011
A8-R4: BASICS OF OS, UNIX AND SHELL PROGRAMMING

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 “tear-off” answer sheet attached to the question paper, following instructions therein. (1x10)
1.1 Which program searches given input for a pattern?
A) sort
B) grep
C) search
D) cat
1.2 The pwd command
A) Changes your password
B) Prints the current directory
C) Prints a file
D) None of the above

January, 2012 A8-R4: BASICS OF OS, UNIX AND SHELL PROGRAMMING

January, 2012
A8-R4: BASICS OF OS, UNIX AND SHELL PROGRAMMING

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 “tear-off” answer sheet attached to the question paper, following instructions therein. (1x10)
1.1 What operating system was Linux designed to "resemble somewhat"?
A) Minix
B) Windows
C) System V
D) Vunix
1.2 Which of the following is not a Linux boot loader?
A) Lilo
B) Syslinux
C) Grub
D) None of the above

Monday 31 October 2016

Loop : C Language

C Language Loop Baner

Loop

Suppose you’re a class teacher and your college organized a tour for somewhere so you have assigned a task to fill up tour fee form. Total 200 hundred students in your class, in this situation you need to reach each student seat and collect fees. If we analysis from computer point of view for this scenario then you need to take total 200 step for achieve this.

This was real life an example which creates a basic idea of repetitive task. This type of task needs some automatic process which minimizes our effort then loop is your solution. Following are some example of task where you need loop.

  • Printing all numbers between 1 to 100
  • Printing your name a number of times
  • Accessing some continuous item like arrays

C language gives you three types of loops to accomplished repetitive task.

  • While
  • For
  • Do-while

While Loop

Syntax:
while-loop

Sunday 30 October 2016

July, 2012 A8-R4: BASICS OF OS, UNIX AND SHELL PROGRAMMING

 July, 2012
A8-R4: BASICS OF OS, UNIX AND SHELL PROGRAMMING

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 “tear-off” answer sheet attached to the question paper, following instructions therein. (1x10)
1.1 Who developed the Linux?
A) Charles Babbage
B) Linus Torvalds
C) Alan Turing
D) None of the above
1.2 What terminology is not used in the Linux?
A) Shell
B) Process
C) File
D) Folder