background img

The New Stuff

CPU ppt provide from ADIT for all student.

This PPTS for ADIT 1st Year student of CP....


This ppts provide from our CPU class faculty Ishita N. Theba from C.E. Dept. 

Go at this link & Download a ppt of Computer Programming and Utilization

For download C setup files


Write a program to Multiply two numbers.


#include<stdio.h>
#include<conio.h>

void main()
int a,b,c;
 printf(“Enter the value of a:-\n”);
 scanf(“%d”,&a);
 printf(“Enter the value of b:-\n”);
 scanf(“%d”,&b); 
c=a*b; 
printf(“ Multiplication is :-%d”,c);
 getch(); 
}

C Introduction

1. C- the most widely used computer language-is being taught today as a core subject in almost all the undergraduate programmes.

2. C is a general-purpose structured programming language that is powerful,efficient and compact.

3. C combines the features of a high-level language with the elements of the assembler and is, thus, close to both man and machine.

Structured Programming


The increasing popularity of C is probably due to its many desirble qualities
.It is a robust language whose rich set of built-in functions and operators can be used to write any complex program.

C language is well suited for Structured Programming

C program is a group of building blocks called Functions .

A C program may contain one or more section. The basic structure of write c program shown in below Table. 

Documenting Section

Link Section

Definition Section

Global Declaration Section

main() Fuction Section
{
Declarion Part

Executable Part
}


Subprogram section

Function 1

Function 2

-

-

Function n


  • Documenting Section : It consists of a set of comment lines.
  • Link Section : It provides instructions to the compiler to link functions from the system library.
  • Definition Section: It defines all symbolic constants.
  • Global Declaration Section : There are some variables that are used in more than one function. Such variables are called global variables and are declared in this section.
  • Main() Function Section : Every C program must have one main() functon section. This section contains two parts.
    • Declaration Part & Executable Part : The Declaration part declares all the variables used in the executable part. There is at least one statement in the executable part. These two parts must appear between the opening and the closing braces.
  • Subprogram section : It contains all the user-defined functions that are called in the main fuctions. User-defined functions are generally placed immediately after the main function, although they may appear in any order.

Nokia Lumia 920 – The new flagship smartphone with Windows Phone 8

         
              The new Lumia 920 is Microsoft’s first serious punch against Android and iOS platform. This is among the first Windows Phone devices to come with a dual core processor and PureView imaging technology. According to Nokia, the Lumia 920 packs 1GB of RAM and 32GB of internal memory, though it does not feature microSD card slot for memory expansion. However, users will also receive 7GB of free cloud storage via SkyDrive. The phone’s stunning 4.5-inch IPS TFT capacitive touchscreen display supports HD (768 x 1280 pixels) resolution and integrates PureMotion HD+ technology. The included 1.5 GHz dual core Krait processor is made by Qualcomm. The 8.7-megpixel camera on the back features the multi-awarded PureView technology. It also comes with dual-LED flash, autofocus and full HD (1080p) video recording. LTE, NFC and Wi-Fi support is included as well. Although Nokia did not reveal any details on the phone’s availability and price tag, it did confirm it will go on sale later this year.

iPhone 5 – The thinnest, lightest and fastest iPhone ever

           One of the most popular smart phones on the market, the iPhone has just been refreshed and promises even more features in a much slimmer form factor. According to Apple, this is “the thinnest, lightest, fastest iPhone ever,” though it remains to be seen how fans will react to the company’s new product. The new iPhone 5 comes with a slightly larger 4.0-inch display that supports 640 x 1360 pixels resolution and 326 ppi. It does come with LTE support, as previous rumors suggested, as well as a 1440 mAh Li-Ion battery, which is rated by Apple for up to 225 hours of standby time or up to 8 hours of talk time. On the back, the device boasts an 8-megapixel iSight camera, which features autofocus, LED flash, full HD (1080p) video recording and panorama. There’s also a secondary 1.2-megapixel front facing camera for video calls. Unlike iPhone 4S, the new iPhone 5 only supports nano-SIM cards, which are 44% smaller than current micro-SIMs.