Wednesday 19 October 2016

Syllabus : A3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH ‘C’ LANGUAGE

Objective of the Course

The objectives of this course are to make the student understand programming language,
programming, concepts of Loops, reading a set of Data, stepwise refinement, Functions, Control
structure, Arrays. After completion of this course the student is expected to analyze the real
life problem and write a program in ‘C’ language to solve the problem. The main emphasis of
the course will be on problem solving aspect i.e. developing proper algorithms.


  • After completion of the course the student will be able to
  •  Develop efficient algorithms for solving a problem.
  •  Use the various constructs of a programming language viz. conditional, iteration and
  • recursion.
  •  Implement the algorithms in “C” language.
  •  Use simple data structures like arrays, stacks and linked list in solving problems.
  •  Handling File in “C”.

Syllabus : A3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH ‘C’ LANGUAGE

Objective of the Course

The objectives of this course are to make the student understand programming language,
programming, concepts of Loops, reading a set of Data, stepwise refinement, Functions, Control
structure, Arrays. After completion of this course the student is expected to analyze the real
life problem and write a program in ‘C’ language to solve the problem. The main emphasis of
the course will be on problem solving aspect i.e. developing proper algorithms.


  • After completion of the course the student will be able to
  •  Develop efficient algorithms for solving a problem.
  •  Use the various constructs of a programming language viz. conditional, iteration and
  • recursion.
  •  Implement the algorithms in “C” language.
  •  Use simple data structures like arrays, stacks and linked list in solving problems.
  •  Handling File in “C”.

Syllabus : A2-R4: INTERNET TECHNOLOGY AND WEB DESIGN

Objective of the Course

The aim of this course is to provide you the conceptual and technological developments in the field of Internet and web designing with the emphasis on comprehensive knowledge of Internet, its  applications and the TCP/IP protocols widely deployed to provide Internet connective worldwide. The World Wide Web with its widespread usefulness has become an integral part of the Internet. Therefore, this course also puts emphasis on basic concepts of web design.

At the end of the course the students will be able to: -


  •  Review the current topics in Web & Internet technologies.
  •  Describe the basic concepts for network implementation.
  •  Learn the basic working scheme of the Internet and World Wide Web.
  •  Understand fundamental tools and technologies for web design.

Tuesday 18 October 2016

Clearerr : C language stdio.h function

Clearerr


Resets error indication

 Declaration:  void clearerr(FILE *stream);

 Remarks:

clearerr resets the named stream's error and end-of-file indicators to 0.

Once the error indicator is set, stream operations continue to return error
status until a call is made to clearerr or rewind.

The end-of-file indicator is reset with each input operation.

 Return Value:  None

stdio.h : C Language Library

Stdio.h


This library has all input and output related function. List of available library functions are follows

clearerr   fclose      fcloseall   fdopen      feof          ferror
fflush       fgetc       fgetchar    fgetpos     fgets         fileno
flushall    fopen      fprintf       fputc        fputchar    fputs
fread        freopen   fscanf       fseek        fsetpos      ftell
fwrite      getc         getchar      gets         getw          perror

Printf : Output Function

Getting Knowledge about input output is the most basic process to start learning any programming language. In C all available function reside in library file whose extension is .h

Stdio.h is header file which has most of the input output related function.I am going to show you most frequently useful function.

Monday 17 October 2016

HTML an Introduction

HTML (Hypertext Markup Language) is used to make website around the globe. HTML is easy to learn and supported by the entire browser around the world.

Let’s start with some world of full form. Why “Markup language “has been used in full form?
The Name of markup language has been used because all the HTML code is written inside of <>.

Syntax and Example

<Body bgcolor=”red”>
…………………
………………….
</Body>
HTML Tag Information

Saturday 15 October 2016

Algorithm

Computer Algorithm


Algorithm : Computer Science 

To understand algorithm you need to understand following terms
  • Computer is a combination of software and hardware.
  • Hardware is physical component of system which we can touch and feel.
  • Software is a collection of related program.
  • Program is a combination of related statement.
  • Statements are actual command which computer follows to perform an action.

Friday 14 October 2016

Write a program to find smallest and highest number from an array?

Q1. : Write a program to find smallest and highest number from an array?

/*    ##################################
            Girfa : Student Help
            Program : Count Highest/smallest
            For more program visit : http://girfahelp.blogspot.in/2012/09/some-program-of-c-language.html
      ###################################
      */
#include<stdio.h>
#include<conio.h>
void main()
{
      int ar[5],i,small=0,big=0;
      clrscr();
      for(i=0;i<5;i++)

Flow Chart



Flow Chart

 Flow chart a diagram is use to graphically represent program logic, algorithm and workflow model because A picture is worth a thousand words. Flow chart is easy way to write down programming logic using various symbols which help programming easily convert these symbols of logic into its equivalent code in any language. Flow chart decreases software development process.


The first structured method for document process flow, the "flow process chart", was introduced by Frank and Lillian Gilbreth to members of the American Society of Mechanical Engineers (ASME) in 1921 in the presentation "Process Charts: First Steps in Finding the One Best Way to do Work". The Gilbreths' tools quickly found their way into industrial engineering curricula. In the early 1930s, an industrial engineer, Allan H. Mogensen began training business people in the use of some of the tools of industrial engineering at his Work Simplification Conferences in Lake Placid, New York.

Practice Question Data and Variable C language

Q1. What is difference between sign and unsigned data type in C language?

 Q2. What is difference between float and double data type?

 Q3. What do you understand by garbage data?

 Q4. If a variable is used in any expression without initialization then what will be result?

 Q5. What the use of scientific notation?

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 &

Sunday 9 October 2016

NIELIT Assignment 12 : Basics of Os, Unix and Shell Programming

Assignment 12

a) Write a command to change modification time of a file without modifying the
file.

b) Write a command to display name of a file in your current directory whose
size is maximum.

NIELIT Assignment 11 : Basics of Os, Unix and Shell Programming

Assignment 11.

a) Write a command to convert contents of a file a.txt to upper case

b) Write sequence of commands to convert 1st line of a file a.txt to upper case

NIELIT Assignment 10 : Basics of Os, Unix and Shell Programming

Assignment 10.

Using vi editor

a) Write a command to undo last action.

b) Write a command to create abbreviation LU as Linux Unix.

NIELIT Assignment 10 : Basics of Os, Unix and Shell Programming

Assignment 10.

Using vi editor

a) Write a command to undo last action.

b) Write a command to create abbreviation LU as Linux Unix.

NIELIT Assignment 9 : Basics of Os, Unix and Shell Programming

Assignment 9.

Using vi editor
a) Write a command to copy line number 1,10 after line number 25.

b) Write a command to move line number 1,10 after line number 25.