Skip to main content

Posts

Showing posts from September, 2018

What is CAD/CAM?

CAD stand for Computer aided draughting and design.It enable us to draw polygon,ellipse,multiple parallel lines and multiple parallel curves.Companies uses CAD to produce better design more quickly and cheaply.In CAD we can make changes immediately and print a new drawing in minutes or we can transmit it all over the world using e mail service instantly.CAD enable companies to produce better design that are almost impossible produce manually. CAD is linked with CAM (computer aided manufacturing ) to produce computerise instructions for computerise machine control. Example :- lathe,mills,machining centre,welding equipment,automated assemblies.                  

4.What is variable?

A variable is an entity whose value can change during program execution.A variable is symbolic representation of address of the memory stress were values can be stored,excesed and changed. Each variable has a name and datatype.All variable must have their type indicated,so that the compiler can record all the necessary information about them,generate appropriate code during allocating required space in memory. # Rules for construction variable name:- 1 It should be a combination of alphabet,digits or under score. 2 First character must be an alphabet 3 Variable name should not be matching with reserve word in c Example:- Employ - name                         "            age                     Item- 4 etc ➡ A variable declaration in c is done as-type specified,separed list of separable  Ex- int,I,g,k        ...

3. What is Constant?

A constant is an entity with fixed value that doesn't change.It can be stored at a location in memory of the computer and can be reference through that memory addressed. ➡ Constant are fixed value that remain unchanged during the execution of programme and are used in assignment statement constant can be stored in variables. ✖ There are 5 basic types of constant in c 1 Integer constant 2 Real constant 3 character constant 4 String constant 5 Logical constant  

* Component of 'c' language

1 character set 2 Data type  3 Constant 4 Variable  5 Keywords  6 Grammar (syntax and semantic) 1 Character set :- All symbols used to write in c language.they are :-  a. Letter  (a-z,A-Z) B.Digits  (0-9) C.symbol  (*,&,+,-) D.White space :-Black space, horizontal tab,carriage return, new line etc.... 2 Data type :-Datatype is defining and attributes to the variable.It defining the set of legal that the variable can store.the basic data type int,char,float,etc.....    

What is computer programming/language?

C is a structured programming language.c language is developed in 1972 at bell laboratories by a system programming named Dennis rithcie. ➡ c comes between low level language and high level language ✖ Advantages of c programming language 1 c is a machine independent and highly portable language. 2 It is easy to learn and it has only 32 keywords. 3 It has comprehensive set of operator to tackle business as well as scientific application with ease. 4 All graphics programming as well as system programming can be implemented using c. 5 User can create their own function/facility and add them in c laboratories to perform a variety of tasks. 6 It has large libraries function. 7 C operates on the same datatype as the computer,so the code need very little data conversion.  

What is conditional flow chart?

While solving a problem,some time there is a situation where a design has to be taken. There can be one way,two way or multi way choices.hence these flow chart provide a mechanism to provide multiple choice situation in a proper manner user can select two or more possibilities.            

What is sequential flow chart?

These types of flow chart indicates that the flow of control normally passes from one instructions to the next in a sequence with in a programme. Example :- design a flow chart to calculate addition of two number