Monday, July 29, 2013

How to run Turbo c++ in Windows 7(64 bit)




It is very simple to run Turbo C++ Compile in Windows 7.

Click Here to download the setup file.

After download has been Finished. Extract RAR file & Install the .EXE file.


Click on start menu at the left bottom of the screen. Click on All Program you will find folder & Icon of name Turbo C++. Click on it. You are now ready to execute your C++ & C Programs.

Thanks

Friday, July 12, 2013

Syllabus for FUNDAMENTALS OF COMPUTERS & PROGRAMMING IN C & COMPUTER PROGRAMMING LAB in Kurukshetra University

CSE -101E

FUNDAMENTALS OF COMPUTERS & PROGRAMMING IN C

L   P                                                                              Theory: 100 marks
 2                                                                                    Sessional : 50 marks
Total: 150 marks
Time: 3 Hrs.
Unit-1
An Overview of Computer System: Anatomy of a digital Computer, Memory Units, Main and Auxiliary Storage Devices, Input Devices, Output Devices, Classification of Computers. Radix number system: Decimal, Binary, Octal, Hexadecimal numbers and their inter-conversions; Representation of information inside the computers. Operating System Basics: Introduction to PC operating Systems: DOS,  Unix/Linux,  Windows 2000.

Unit-2

Programming Languages: Machine-, Assembly-, High Level- Language, introduction to Assembler, Compiler, Interpreter, Debuggers, Linker and Loader. Programming fundamentals: problem definition, algorithms, flow charts and their symbols.
Internet basics How Internet works, Major features of internet, Emails, FTP, Using
the internet.

Unit-3

C Programming language: C fundamentals, formatted input/ output, expressions, selection statements, loops and their applications; Basic types, arrays, functions, including recursive functions, program organization: local and external variables and scope & arrays.

Unit-4

Strings: strings literals, string variables, I/O of strings, arrays of strings; applications.
Structures, Unions and Enumerations: Structure variables and operations on structures; Structured types, nested array structures; unions; enumeration as integers,  tags  and types. Standard library: Input / output; streams, file operations, formatted I/O, character I/O, line I/O, block, string I/O, Library support for numbers and character data, error handling:

Text Books:

1.                 Using Information Technology, 5th  Edi, Brian K Williams & Stacey C. Sawyer, 2003, TMH
2.                 The  C  Programming  Language  by  Dennis  M  Ritchie,  Brian  W.  Kernigham, 1988, PHI.
3.                 C Programming A modern approach by K.N. King, 1996, WW Norton & Co.

Reference Books:

1.                 Information  technology,  Dennis  P.  Curtin,  Kim  Foley,  Kunal  Sen,  Cathleen Morin, 1998, TMH
2.                 Theory and problem of programming with C, Byron C Gottfried, TMH
3.                 Teach yourself all about computers by Barry  Press and Marcia  Press, 2000, IDG Books India.
4.                 Using Computers and Information by Jack B. Rochester, 1996, Que Education
& Training.

Note: The Examiners will set eight questions, taking two from each unit. The students are required to attempt five questions in all selecting at least one from each  unit.  All questions will carry equal marks.







CSE-103E


COMPUTER PROGRAMMING LAB.

 T    P                                                                           Sessional Work:25 Marks
-          -     2                                                                          Examination:   25 Marks
Total:               50 Marks Duration of Exam:  3 Hrs.

Note:   At least 5 to 10 more exercises to be given by the teacher concerned. Representative programming problems:-
1.      Write a program to find the largest of three numbers. (if-then-else)
2.      Write a program to find the largest number out of ten numbers (for-statement)
3.      Write a program to find the average mail height & average female heights in the class (input is in form of sex code, height).
4.      Write a program to find  roots of  quadratic equation using functions and switch
statements.
5.      Write a program using arrays to find the largest and second largest no. out of given 50 nos.
6.      Write a program to multiply two matrices
7.      Write a program to read a string and write it in reverse order
8.      Write a program to concatenate two strings
9.      Write a program to sort numbers using the Algorithm.
10.  Represent a deck of playing cards using arrays.
11.  Write a program to check that the input string is a palindrome or not.

Tuesday, July 2, 2013

OPNET Simulator Execution Problem


Opnet Simulator Execution Problem


I want to create a network in which 1 attacker & 3 legitimate nodes are connected to a server via a switch. I want to set the threshold of the server to a specific value say 100. So now server will allow only 100 connection till the timeout period of one of the connection is over. I also want to set the time value specific say 10 seconds or 15 seconds for every connection. Please guide me on this.


Thanks