Wednesday, November 2, 2011

USB-Media Genie


This is a great little device for anyone who camps, likes to spend some time playing around on their computer or is just simply looking for a fun way to spend some extra time. Simply plug the Media Genie into your laptop or desktop running Windows Vista, XP SP2 or Windows 7 equipped computer and get going! This media USB device has 20,000 internet radio channels, 10,000 games and 8,000 internet TV shows at your fingertips! This is a great way to cure boredom.

Tinkering around on your computer just got more enjoyable. There is such a large selection of things to choose from that there is something for everyone and every age group! It's a fairly affordable device with hours of enjoyment and pleasure. It does require that your computer has at least ten megabytes of free storage space, but other than that it is a pretty simple process!

Friday, October 28, 2011

if else statement condition

Condition - is the state of an expression or a variable; for example, when a result can be either true or
                false, or not equal.
if else statement – this is a control statement that executes a block of code.
                Syntax:
                                if (condition)
                                                statement1;
                                else
                                                statement2;

scanf(); used to read information from the keyboard
scanf(“%f”)  float, scanf(“%c”) character & symbol
clrscr(); -is used to clear the text mode window or to clean the output screen before running a program.

=============================================================================
This program will input 2 numbers, using the ”if else statement”  you can use this following
operators ( +, -, /, *)

//Sample Program1:
#include<stdio.h>
#include<conio.h>

main()
{
int invalid_operator=0;
char oprtor;
float num1, num2, result;
printf(Enter two numbers and an operator?\n");
printf("number1 operator number2\n");
scanf("%f %c %f",&num1,&oprtor,&num2);
                 if(oprtor=='*')
                                                result=num1 *num2;
                 else if (oprtor=='/')
                                                result=num1/num2;
                 else if (oprtor=='+')
                                                result=num1+num2;
                 else if (oprtor=='-')
                                                result=num1-num2;
                 else
                                invalid_operator=1;
                                if(invalid_operator!=1)
                                printf("%f %c %f is %f\n",num1,oprtor,num2, result);
                                else printf("invalid operator");
getche();
return 0;
}

Sample output:

Enter two numbers and an operator
number1 operator number2
4.0000 + 2.0000 is 6.0000
Enter two numbers and an operator
number1 operator number2
4.0000 * 2.0000 is 8.0000

Variable Declaration


Variable – refers to the named area in memory that stores a value or string assigned to that variable.

Ways to declare variable:
Global variable – outside of all functions, including the main() function
Local variable – inside a function; variables may only be used by statements that are in the same
 functions
Formal parameters
Data type – a set of data that specifies the possible range values of the set, the operations that
can be performed on the values, and the way in which values are stored in memory.
clrscr(); -is used to clear the text mode window or to clean the output screen before running a
program.

Data type
Control String
Description
Example
Char
“%c”
used for outputting letter or symbol
‘w’, ‘y’
Char
“%s”
used for outputting 2 or
more letters or symbols
and alphanumeric
‘Melo’, ‘P103’,
‘prof_melo’
Int
“%d”
used for outputting
 whole numbers
8, 12, -5, 12854
Float
“%f”
used for outputting number
 w/ decimal places
8.12, 16.09,
-23.812
Double
“%f”
used for outputting larger
number w/ or without decimal places
81256381225,
1276812.83
                                                                                                                                       
Operator – is a symbol that tells the compiler to perform specific mathematical or logical manipulations
+
Addition
-
Subtraction
*
Multiplication
/
Division
%
Modulus of remainder
Div
Integer division
Mode
Integer remainder
++/--
Increment and decrement

Relational operators – are used to determine the relationship of one quantity to another.
< 
Less than
<=
Less that or equal to
> 
Greater than
>=
Greater than or equal to
==
Equal to
!=
Not equal to
=
Assignment operators

Logical operators – are used to show the ways through which these relationships can be connected.
&&
AND
||
OR
!
NOT

==========================================
This program will compute the general average.

#include<stdio.h>
#include<conio.h>
main()
{
int pgrade, mgrade, sfgrade, fgrade, gaverage;
float avrage;

printf("\nEnter your Grade");
printf("\nPrelim Grade  => ");scanf("%d",&pgrade);
printf("Midterm Grade => ");scanf("%d",&mgrade);
printf("S_final Grade => ");scanf("%d",&sfgrade);
printf("Final Grade   => ");scanf("%d",&fgrade);
 gaverage=pgrade+mgrade+sfgrade+fgrade
 avrage=gaverage/4;
printf("\nGeneral Average => %.2f",avrage);                         //%.2f numbers w/ 2 decimal places
getche();
return 0;
}

Sample output:

Enter your Grade
Prelim Grade    => 89
Midterm Grade => 89
S_final Grade   => 89
Final Grade      => 89
General Average =>  89

Thursday, October 27, 2011

Parts of Computer System

Computer system in contemporary usage refers to a desktop system, including the computer itself ("The CPU" or "The Box") and all the peripheral devices needed to operate it, usually including:


Monitor
A monitor displays information in visual form, using text and graphics. The portion of the monitor that displays the information is called the screen. Like a television screen, a computer screen can show still or moving pictures.
There are two basic types of monitors: CRT (cathode ray tube) monitors and LCD (liquid crystal display) monitors.

Wednesday, September 28, 2011

The Screen Windows (Power Point)

 

PowerPoint is a complete presentation graphics package. It gives you everything you need to produce a professional-looking presentation. PowerPoint offers word processing, outlining, drawing, graphing, and presentation management tools- all designed to be easy to use and learn.
You use PowerPoint to create effective slide show presentations. The PowerPoint screen has many elements.

Title Bar

The Title bar generally appears at the top of the screen. The Title bar displays the title of the current presentation.

Menu Bar

The Menu bar displays the menu. You use the menu to give instructions to PowerPoint.

Standard and Formatting Toolbars

PowerPoint has several toolbars. Toolbars provide shortcuts to menu commands. The most commonly used toolbars are the Standard and Formatting toolbars. You use the Standard toolbar to do such things as open a file; save a file; print a file; check spelling; cut, copy, and paste; undo and redo; or insert a chart or table. You use the Formatting toolbar to change the font, font size or font color; bold, underline, or italicize text; left align, right align, center, or justify; bullet or number lists; highlight; or decrease or increase the indent.

Rulers

Rulers are vertical and horizontal guides. You use them to determine where you want to place an object. They are marked in inches.
Placeholders
Placeholders hold the objects in your slide. You use placeholders to hold text, clip art, and charts.
Status Bar
The Status bar generally appears at the bottom the screen. The Status bar displays the number of the slide that is currently displayed, the total number of slides, and the name of the design template in use or the name of the background.
Outline Tab
The Outline displays the text contained in your presentation.
Slides Tab
The Slides tab displays a thumbnail of all your slides. You click the thumbnail to view the slide in the Slide pane.

View Buttons
The View buttons appear near the bottom of the screen. You use the view buttons to change between Normal view, Slider Sorter view, and the Slide Show.
Normal View 
Normal view splits you screen into three major sections: the Outline and Slides tabs, the Slide pane, and the Task pane. The Outline and Slides tabs are on the left side of your screen. They enable you to shift between two different ways of viewing your slides. The Slides tab shows thumbnails of your slides. The Outline tab shows the text on your slides. The Slide pane is located in the center of your screen. The Slide pane shows a large view of the slide on which you are currently working. The Task pane is located on the right side of your screen. The Tasks pane enables you to select the task you want to perform.
Slide Sorter View 
Slide Sorter view enables you to view thumbnails of all your slides. In Slide Sorter view you can easily add, delete, or change the order of your slides. When you are in Slide Sorter view, a special Formatting toolbar appears. It has options that allow you to make changes to your slides
Slide Show 
Use the Slide Show view when you want to view your slides, as they will look in your final presentation. When in Slide Show view:

Esc
Returns you to the view you were using previously.
Left-clicking
Moves you to the next slide or animation effect. When you reach the last slide, you automatically return to your last view.
Right-clicking
Opens a pop-up menu. You can use this menu to navigate the slides, add speaker notes, select a pointer, and mark your presentation.

Drawing Toolbar
The Drawing toolbar generally appears near the bottom of the screen. It contains tools for creating and editing graphics.
Common Tasks Buttons
Using the common tasks buttons, you can select the type of tasks you want to perform.
Task Pane
The Task pane enables you to select the specific task you want to perform.
Vertical Splitter Bar
You can click and drag the vertical splitter bar to change the size of your panes.
Minimize Button
You use the Minimize button to remove a window from view. While a window is minimized, its title appears on the taskbar.
Maximize/Restore Button
You use the Maximize button to cause a window to fill the screen. After you maximize a window, if you click the Restore button, the window returns to its former size.
Close Button
You use the Close button to exit the window and close the program.


 Compare Processor Specs
  Feed your need for Speed

Thursday, September 15, 2011

Ice Age 4 (2012 movie)


Genre:
Adventure/Animation/Family/Comedy

Directed by:
Carlos Saldanha

Starring:
Ray Romano, Queen Latifah, Denis Leary, John Leguizamo

Release date:
Fri 13, Jul 2012



Twilight Breaking Dawn 2 (2012 movie)

Genre:
Fantasy/Romance

Directed by:
Bill Condon

Starring:
Kristen Stewart, Robert Pattinson, Taylor Lautner

Release date:
Fri 16, Nov 2012


Batman 3 - Dark Knigth Rises (2012 movie)

Genre:
Action/Superhero

Directed by:
Christopher Nolan

Starring:
Christian Bale

Release date:
Fri 20, Jul 2012
 






The Expendables 2 (2012 movie)

Genre:
Action

Directed by:
Sylvester Stallone

Starring:
Sylvester Stallone, Jason Statham, Jet Li

Release date:
Fri 17, Aug 2012






Halloween 3 (2012 movie)

Genre:
Horror

Directed by:
Patrick Lussier

Starring:
Scout Taylor-Compton, Brad Dourif

Release date:
Fri 26, Oct 2012





//