Friday, December 13, 2013

Question & Answer



Dear Students,


if you have any questions regrading fundamental of computers & Programming in C.  Post your questions Clearly in the Comment box given below. I will try to post the answer with in 24 hours



Thanks & Regards

Shiraz Khurana

Wednesday, August 28, 2013

Books Referred for Fundamental of Computer & Programming in C



Books Referred




1.     Fundamentals of Computer by P K Sinha
2.     Fundamentals of Computer& Programming inC by J.B Dixit
3.     Computer Fundamentals& Programming in C by SK Jha

4.     Let us C by Yashwant Kanetkar
5.     Programmingwith C by ByronS Gottfried(Schaum Series)
6.     Letus C Solutions byYashwant Kanetkar


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

Saturday, January 12, 2013

How to change the colour of Command Prompt with Screen Shots


How to change the Color of Command Prompt

In window 7:
Click on start :->



type "Run" in the search box given at the bottom of start menu



-> Click on Run.-> type "cmd" click on OK

when Command Prompt get opened type there:


type color h & press Enter


choose any of  available color of your choice by typing :
e.g
color 0
color 1
color 2
etc....

I hope its clear now
Thanks

Wednesday, January 9, 2013

Quickly Zoom In and Out of Any Windows 7 Application


Quickly Zoom In and Out of Any Windows 7 Application

Windows: With Aero, Microsoft added a nifty magnifier tool to Windows 7 that enables you to zoom in—regardless of the application—on the fine details on the screen. For faster zooming, here are some keyboard shortcuts.
To quickly zoom in to any part of your screen, hit the Windows key and +. By default, the Magnifier will zoom in 100% increments, but you can change this in the tool settings. Hold down the Windows and - keys at the same time to zoom back out.
Update: as some commenters pointed out, although Vista has the Magnifier tool, the full screen zoom doesn't work the same way as it does for Windows 7.
Other quick keyboard shortcuts, once you have the Magnifier tool up, include:
  • CTRL + ALT + L to bring up the lens display view
  • CTRL + ALT + D to dock the magnification area.
  • CTRL + ALT + F brings you back to the full screen mode.
In some applications, such as your web browser and Photoshop, you can use CTRL + and CTRL - instead to zoom in. But if you ever want to get a closer look at something in Windows 7 and the CTRL + shortcut doesn't do anything for you, try using the Windows key instead of the CTRL key.