Thursday 13 October 2016

Microsoft Excel Rate Depreciation List for Car Sale

Prepare a worksheet for the following problem:

You are looking to buy a car. You are considering two options: to buy a second hand car and keep it for ten years or to buy a new car and keep it for four years. The depreciation per year is simply the difference between the purchase price and the resale price divided by the numbers of years. The total running cost per year is the sum of service/repair cost, the fuel cost per year (miles per year multiplied by fuel cost per mile) , the tax and the insurance. The total cost per year is the sum of the depreciation and the running costs. You are supposed to calculate average depreciation per year, fuel cost per year, total running cost per year and total cost per year for both the options. Type in labels: car purchase option, initial cost, resale, years ,average depreciation per year, running cost, services/repairs per year, miles per year, fuel cost per mile, fuel cost per year, tax, insurance, total running cost and total cost per year. Prepare the worksheet having all the details as given below:

Wednesday 12 October 2016

July, 2015 A8-R4: BASICS OF OS, UNIX & SHELL PROGRAMMING

July, 2015
A8-R4: BASICS OF OS, UNIX & 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 “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
1.1 The fast and expensive storage device
A) Register
B) Electronic disk
C) Magnetic disk
D) Optical disk
1.2 Which command is used to change protection mode of files starting with the string emp and
ending with 1,2, or 3?
A) chmod u+x emp[1-3]
B) chmod 777 emp*
C) chmod u+r ??? emp
D) chmod 222 emp?

Variable Input Output C Language

c-language-variable-input-o

As you have in previous chapter what is a variable now I am going to demonstrate that how to declare and read/write into a variable.
Declaration syntax

Declare single variable

Data_type Variable_name;

Declare more than one variable

Data_type Var_name1,var_name2…var_nameN

Declare and initialize

Data_type var_name1=val1,var_name2=val2…var_nameN=valM

Variable Declaration

When you make a variable. It’s known as declaration in terms of C language. Declaration request OS for claiming space on physical memory.

Initialization

First value assign to a variable after declaration. What if you didn’t initialize a variable then an unpredicted value assigned which is known as garbage so initialization   is mandatory for denied facing socking result.

Monday 10 October 2016

January, 2016 A8-R4: BASICS OF OS, UNIX & SHELL PROGRAMMING

January, 2016
A8-R4: BASICS OF OS, UNIX & 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 “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
1.1 What does the following command do?
who | wc –l
A) List the number of users logged in
B) List the users
C) List the number of users in the system
D) Display the content of who command
1.2 What is the default number of files open per user process?
A) 0
B) 1
C) 2
D) 3
1.3 $ oneko &