Exam Details

Subject C - Programming
Paper
Exam / Course Diploma -VIEP-Electrical Engineering (DELVI)/Advanced Level Certificate Course In Electrical Engineering (ACELVI)
Department School of Engineering & Technology (SOET)
Organization indira gandhi national open university
Position
Exam Date June, 2016
City, State new delhi,


Question Paper

1. Choose the correct answer.

What is the range of long int

0 to 65535

-32768 to 32767

-2147483648 to 2147483647

-2147423648 to 2147423647

Which one of the following format specifiers is used for long double?



%Lf

%lf

%ld

Which one of the following operators has lowest precedence?

Multiplication

Greater than

,Comma

Divide

What will be the value of the expression





1

None of these

How many bytes will be taken by data type int in memory on 32 bit system?

2

8

4

None of these

Which one of the following is not a valid variable declaration

int abc

flot simple interest

double c_i

char a

Which operator provides size of data types in bytes?

size(

sizeof(

datasize()

sizeinbytes()

Differentiate between while and do .. while loop with a suitable example. Write a program to print all the prime numbers between 1 to 1000 by using while loop.

Write a menu driven program to calculate the area of circle, rectangle, square and triangle with switch .. case statement.

Define array. Write a program to multiply two matrices of order n x n. The program also prints the result in matrix format.

Explain nested if-else statement. Write a program to calculate the percentage of marks obtained in five different subjects by a student and decide whether he has passed with 1st, 2nd, 3rd division or has failed.

What are the different ways to initialize an array? Write a program to read the marks of 60 students in a subject and print the average marks of this subject.

How can programming be helpful in analysis of circuit design in electrical engineering components? Explain with the help of a suitable example.

Discuss the various software that can be used in different fields of electrical engineering.

Define operator. Describe the logical bitwise and relational operators with the help of an example of each.

Write a program to find the value of one number (say raised to the power of another number i.e. a^b.

What is a database How can it be created Explain the process of querying the database file on a single key.

7. Write short notes on any four of the following:

goto statement

CAM

Information storage

Primary and foreign keys in database

break and continue statement

CAD


Departments

  • Centre for Corporate Education, Training & Consultancy (CCETC)
  • Centre for Corporate Education, Training & Consultancy (CCETC)
  • National Centre for Disability Studies (NCDS)
  • School of Agriculture (SOA)
  • School of Computer and Information Sciences (SOCIS)
  • School of Continuing Education (SOCE)
  • School of Education (SOE)
  • School of Engineering & Technology (SOET)
  • School of Extension and Development Studies (SOEDS)
  • School of Foreign Languages (SOFL)
  • School of Gender Development Studies(SOGDS)
  • School of Health Science (SOHS)
  • School of Humanities (SOH)
  • School of Interdisciplinary and Trans-Disciplinary Studies (SOITDS)
  • School of Journalism and New Media Studies (SOJNMS)
  • School of Law (SOL)
  • School of Management Studies (SOMS)
  • School of Performing Arts and Visual Arts (SOPVA)
  • School of Performing Arts and Visual Arts(SOPVA)
  • School of Sciences (SOS)
  • School of Social Sciences (SOSS)
  • School of Social Work (SOSW)
  • School of Tourism & Hospitality Service Sectoral SOMS (SOTHSM)
  • School of Tourism &Hospitality Service Sectoral SOMS (SOTHSSM)
  • School of Translation Studies and Training (SOTST)
  • School of Vocational Education and Training (SOVET)
  • Staff Training & Research in Distance Education (STRIDE)

Subjects

  • Basics of Electrical Engineering
  • C - Programming
  • Computer Applications In P.S.
  • Control Systems
  • Digital Control System
  • Digital Control System Design
  • Dynamics System Simulation
  • Electrical Circuit Theory
  • Electrical Engineering Material
  • Electrical Installation and System
  • Electrical Machine Theory  II
  • Electrical Machines-I
  • Electrical Measurements And Instruments
  • Electrical Power Transmission and Distribution
  • Energy Audit
  • Flexible Ac Transmission System
  • Industrial Drives and Controls
  • Mechatronics
  • Power Generation System
  • Power Plant Economics And Centering
  • Power System Reliability
  • Principles of Computer Architecture
  • Special Electrical Machines
  • Switchgear And Protection
  • Utilization Of Electrical Engineering