Operator precedence and Associativity in C programming language

Operator Precedence in C Operator precedence determines which operator is evaluated first when an expression has more than one operators. For example 100-2*30 would yield 40, because it is evaluated as 100 – (2*30) and not (100-2)*30. The reason is that multiplication * has higher precedence than subtraction(-). Associativity in C Associativity is used when … Read more

C Keywords – Reserved Words

In C, we have 32 keywords, which have their predefined meaning and cannot be used as a variable name. These words are also known as “reserved words”. It is good practice to avoid using these keywords as variable name. These are – “auto, break, case, char, const, continue, double, default, do, else, enum, exturn, float, … Read more

How to Extract Information about Hardware Components

You can also use the dmidecode utility to extract hardware information by reading data from the DMI tables. To print information about system, run this command. To print information about BIOS, run this command. To print information about processor, run this command.

How to Print PCI Devices Information

PCI devices may included usb ports, graphics cards, network adapters etc. The lspci tool is used to generate information concerning all PCI controllers on your system plus the devices that are connected to them. Use the -t option to produce output in a tree format. Use the -v option to produce detailed information about each … Read more

How to View Linux System Information

To know only system name, you can use uname command without any switch will print system information or uname -s command will print the kernel name of your system. root@localhost ~ $ uname Linux To view your network hostname, use ‘-n’ switch with uname command as shown. root@localhost ~ $ uname -n localhost.localdomain To get … Read more

Advantages of Computers

Speed: The speed of a computer is measured in terms of the number of instructions that it can perform or execute in a second. The speeds of computers are measured in milli­seconds (10~3 sec), micro-seconds (10*6 sec), and nano seconds (10~9sec). Computers are superfast machines and can process millions of instructions per second. Smaller computers … Read more

How to Format USB Flash Drive from Command Prompt

Step 1: Type cmd in the search box, then you can get the best match called Command Prompt. Right-click on it and choose “Run as administrator”. Step 2: On the Command Prompt window, type diskpart and press “Enter” Step 3: Type list disk and press “Enter”. According to the list disk information, check which disk … Read more

AMD-K6™ Processor Multimedia Technology

Introduction- Next generation PC performance requirements are being driven by emerging multimedia and communications software. 3D graphics, video, audio, and telephony capabilities are evolving across education, entertainment, and internet applications. As multimedia applications continue to proliferate in the marketplace, PC systems suppliers are being challenged to deliver multimedia-enabled PC solutions covering all mainstream price/performance points. … Read more

Penetration Testing On 802.11b Networks

The Institute of Electrical and Electronics Engineers (IEEE) created the 802.11b Standard to provide a secure architecture for communicating with networking devices over an air medium but the standard has fallen short in providing a secure criterion. The 802.11b Standard has left many doors open for hackers to exploit these shortcomings and the goal of … Read more

A Closer Look at the First Sample Program

Although Example.java is quite short, it includes several key features that are common to  all Java programs. Let’s closely examine each part of the program. The program begins with the following lines: /* This is a simple Java program. Call this file “Example.java”. */ This is a comment. Like most other programming languages, Java lets … Read more