My Blog List
Tuesday, 28 July 2015
Computer Graphics
COBOL & Four Divisions
COBOL
The Four Divisions
The IDENTIFICATION DIVISION
PROGRAM-ID. NameOfProgram.
[AUTHOR. YourName.]
other entries here
IDENTIFICATION DIVISION.
PROGRAM-ID. SequenceProgram. AUTHOR. Amar Deep Gorai. |
The ENVIRONMENT DIVISION
The DATA DIVISION
The DATA DIVISION has the following structure and syntax:
Below is a sample program fragment -
IDENTIFICATION
DIVISION.
PROGRAM-ID. SequenceProgram. AUTHOR. Amar Deep Gorai. DATA DIVISION. WORKING-STORAGE SECTION. 01 Num1 PIC 9 VALUE ZEROS. 01 Num2 PIC 9 VALUE ZEROS. 01 Result PIC 99 VALUE ZEROS. |
The PROCEDURE DIVISION
Sample Program
IDENTIFICATION DIVISION.
PROGRAM-ID. SequenceProgram.
AUTHOR. Amar Deep Gorai.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 Num1 PIC 9 VALUE ZEROS.
01 Num2 PIC 9 VALUE ZEROS.
01 Result PIC 99 VALUE ZEROS.
PROCEDURE DIVISION.
CalculateResult.
ACCEPT Num1.
ACCEPT Num2.
MULTIPLY Num1 BY Num2 GIVING Result.
DISPLAY "Result is = ", Result.
STOP
RUN.
|
Minimum COBOL program
IDENTIFICATION
DIVISION.
PROGRAM-ID. SmallestProgram.
PROCEDURE
DIVISION.
DisplayGreeting.
DISPLAY "Hello world".
STOP RUN.
|
Wednesday, 15 April 2015
Authorware
Features
- Visual programming language (drag and drop icons to create your application's logical outline, and use menus to add content)
- Built-in data tracking (built-in variables for student activities)
- Support for all sorts of rich media
- Scriptable
Educational technology
Tuesday, 14 April 2015
Digital Video
pixels per frame = 640 * 480 = 307,200
bits per frame = 307,200 * 24 = 7,372,800 = 7.37Mbits
bit rate (BR) = 7.37 * 25 = 184.25Mbits/sec
video size (VS) = 184Mbits/sec * 3600sec = 662,400Mbits = 82,800Mbytes = 82.8Gbytes
Types of Video Formats
Windows Media Video (.wmv)
Advanced Streaming Format (.asf)
QuickTime movie (.mov)
Audio-Video Interleave (Video for Windows) (.avi)
RealMedia (.rm)
RealMedia is an industry leader in streaming video technology and is utilized by many Internet real-time video broadcasting sites. Currently, Real One player 6.0 is available.Various Programs (.mpg)
MPEG-4 is the latest standard for video compression and file format developed by an industry group.
Graphics Acceleration
- Memory : Graphics accelerators have their own memory, which is reserved for storing graphical representations. The amount of memory determines how much resolution and how many colors can be displayed. Some accelerators use conventional DRAM, but others use a special type of video RAM (VRAM), which enables both the video circuitry and the processor to simultaneously access the memory.
- Bus : Each graphics accelerator is designed for a particular type of video bus. As of 1995, most are designed for the PCI bus.
- Register width: The wider the register, the more data the processor can manipulate with each instruction. 64-bit accelerators are already becoming common, and we can expect 128-bit accelerators in the near future
Thursday, 19 March 2015
Sound File Format
A sound file format is a file format for storing audio on a computer. There are several different formats, each with its own benefits and drawbacks. The difference between formats generally has to do with storage space versus sound quality. The processor of a computer typically decodes compressed sounds into a format that can be played by the computer.
The way the audio is compressed and stored is call the codec which determines how small the file size is. Some file types always use a particular codec. For example, ".mp3" files always use the "MPEG Layer-3" codec. Other files like ".wav" and ".dct" files support selectable codecs. For example, a ".wav" file can be encoded with the "PCM", "GSM6.10", "MPEG3" and many other codecs. Be careful not to confuse the file type with the codec - it often surprises people to
know you can have a "MPEG Layer-3" encoded ".wav" file. Some file types just contain the audio. But other file types can
contain additional header information which can contain other information about the file (eg .dct files have information about the sender, priority, notes and other data in the file itself).
Below is a description of audio formats supported by Scratch:
MP3
The most popular audio format, a lossy format playable in almost any device and program. Some open-source programs cannot play it due to patent issues, however.
WAV
The default uncompressed audio format on Windows, also playable in most programs.
Wednesday, 18 March 2015
Most Common Types of Video Files and Containers
Container and Codecs
A Multitude of Formats
3GP File Extension (.3gp)
Advances Streaming Format (.asf)
AVCHD (Advanced Video Codec High Definition)
.AVI (Audio Video Interlaced)
.FLV (Flash Video Format)
.MPEG (Motion Picture Experts Group)
MPEG-4 (.MP4)
.WMV (Windows Media Video)
.MOV
Real Media Format (.rm)
Flash Movie Format (.swf)
Sunday, 22 February 2015
Charged Coupled Device
Tuesday, 20 January 2015
HTML
What is HTML?
Hypertext Markup Language (HTML) is a syntax used to format a text document on the web. These documents are interpreted by web browsers such as Internet Explorer and Netscape Navigator.
HTML can be created as standard ASCII text with "tags" included to pass on extra information about character formatting and page layout to a web browser. The fact that HTML is, in essence, ASCII text is what makes it so universally compatible. This fact also makes it easy to edit: almost all computers are equipped with a text editor that can be used to edit HTML.
What are Tags?
Tags are what we use to structure an HTML page. Tags start with a '<', then the command, and end with a '>'. For example, the center tag is '<center>'. To stop centering something, we need an ending, or closing tag. Closing tags look exactly like opening tags, except after the first '<' there is a '/'. In other words, the closing tag for center is '</center>'.
HTML Structure
An HTML document has a definite structure that must be specified to the browser. The HTML's beginning and end must be defined, as well as the document's HEAD (which contains information for the browser that does not appear in the browser's main window) and its BODY (which contains the text that will appear in the browser's main window). The use and order of tags that define the HTML structure are described below.
<html> Marks the beginning of your HTML
<head> Begins the heading section of an HTML document
<title> ... </title>Gives an HTML document a title that appears on the browser menu bar, also will appear on search engines or bookmarks referencing your site (must appear between the <HEAD> ... </HEAD> tags; should be straight text, no tags
</head> Defines the end of the heading
<body> Defines the body of an HTML document (text contained within the <BODY> … </BODY> tags appears in the main browser window). Can be used with "BGCOLOR", "TEXT", "LINK", and "VLINK" attributes
</html> Defines the end of your HTML document.
Saturday, 17 January 2015
Six Advantages of Cloud Computing in Education
Cloud computing entails using a network of remote servers hosted on the internet as opposed to a local server. This helps cut IT costs as well as simplifies content management processes for schools and educational systems.
Advantages that would be especially useful for both students and educators:
Back Up: An important function of the Cloud is that it automatically saves content, making it impossible to lose or delete any valuable material. This means that even if a computer crashes, all documents and content will remain safe, saved, and accessible in the cloud.
Storage: The Cloud allows its users to store almost all types of content and data including music, documents, eBooks, applications, photos, and much more.
Accessibility: Any data stored in the Cloud can easily be accessed from almost any device including mobile devices such as phones or tablets.
Collaboration: Because the Cloud allows multiple users to work on and edit documents at the same time, it enables effortless sharing and transmission of ideas. With this feature, group projects and or collaborative lesson plans can be optimized for both teachers and students.
Resource and Time Conscious: With the availability of content online, it is no longer necessary for teachers to spend time and resources printing or copying lengthy documents or lesson plans. Now, students are able to access homework assignments, lesson notes, and other materials online.
Assignments: I love that the Cloud allows teachers to post assignments online. Students are able to access these assignments, complete them, and save them in a folder to be reviewed later. This means no wasting time turning in papers at the beginning of class as well as no passing germs around during those pesky flu seasons!
Image File Format
JPG, GIF, TIFF, PNG, BMP. What are they, and how do you choose? These and many other file types are used to encode digital images. The choices are simpler than you might think.
Part of the reason for the plethora of file types is the need for compression. Image files can be quite large, and larger file types mean more disk usage and slower downloads. Compression is a term used to describe ways of cutting the size of the file. Compression schemes can by lossy or lossless.
Another reason for the many file types is that images differ in the number of colors they contain. If an image has few colors, a file type can be designed to exploit this as a way of reducing file size.
Lossy vs. Lossless compression
You will often hear the terms "lossy" and "lossless" compression. A lossless compression algorithm discards no information. It looks for more efficient ways to represent an image, while making no compromises in accuracy. In contrast, lossy algorithms accept some degradation in the image in order to achieve smaller file size.
A lossless algorithm might, for example, look for a recurring pattern in the file, and replace each occurrence with a short abbreviation, thereby cutting the file size. In contrast, a lossy algorithm might store color information at a lower resolution than the image itself, since the eye is not so sensitive to changes in color of a small distance.
Number of Color
Images start with differing numbers of colors in them. The simplest images may contain only two colors, such as black and white, and will need only 1 bit to represent each pixel. Many early PC video cards would support only 16 fixed colors. Later cards would display 256 simultaneously, any of which could be chosen from a pool of 224, or 16 million colors. New cards devote 24 bits to each pixel, and are therefore capable of displaying 224, or 16 million colors without restriction. A few display even more. Since the eye has trouble distinguishing between similar colors, 24 bit or 16 million colors is often called TrueColor.
File Types Explained
TIFF is, in principle, a very flexible format that can be lossless or lossy. The details of the image storage algorithm are included as part of the file. In practice, TIFF is used almost exclusively as a lossless image storage format that uses no compression at all. Most graphics programs that use TIFF do not compression. Consequently, file sizes are quite big. (Sometimes a lossless compression algorithm called LZW is used, but it is not universally supported.)
PNG is also a lossless storage format. However, in contrast with common TIFF usage, it looks for patterns in the image that it can use to compress file size. The compression is exactly reversible, so the image is recovered exactly.
GIF creates a table of up to 256 colors from a pool of 16 million. If the image has fewer than 256 colors, GIF can render the image exactly. When the image contains many colors, software that creates the GIF uses any of several algorithms to approximate the colors in the image with the limited palette of 256 colors available. Better algorithms search the image to find an optimum set of 256 colors. Sometimes GIF uses the nearest color to represent each pixel, and sometimes it uses "error diffusion" to adjust the color of nearby pixels to correct for the error in each pixel.
GIF achieves compression in two ways. First, it reduces the number of colors of color-rich images, thereby reducing the number of bits needed per pixel, as just described. Second, it replaces commonly occurring patterns (especially large areas of uniform color) with a short abbreviation: instead of storing "white, white, white, white, white," it stores "5 white."
Thus, GIF is "lossless" only for images with 256 colors or less. For a rich, true color image, GIF may "lose" 99.998% of the colors.
JPG is optimized for photographs and similar continuous tone images that contain many, many colors. It can achieve astounding compression ratios even while maintaining very high image quality. GIF compression is unkind to such images. JPG works by analyzing images and discarding kinds of information that the eye is least likely to notice. It stores information as 24 bit color. Important: the degree of compression of JPG is adjustable. At moderate compression levels of photographic images, it is very difficult for the eye to discern any difference from the original, even at extreme magnification. Compression factors of more than 20 are often quite acceptable. Better graphics programs, such as Paint Shop Pro and Photoshop, allow you to view the image quality and file size as a function of compression level, so that you can conveniently choose the balance between quality and file size.
RAW is an image output option available on some digital cameras. Though lossless, it is a factor of three of four smaller than TIFF files of the same image. The disadvantage is that there is a different RAW format for each manufacturer, and so you may have to use the manufacturer's software to view the images. (Some graphics applications can read some manufacturer's RAW formats.)
BMP is an uncompressed proprietary format invented by Microsoft. There is really no reason to ever use this format.
PSD, PSP, etc. , are proprietary formats used by graphics programs. Photoshop's files have the PSD extension, while Paint Shop Pro files use PSP. These are the preferred working formats as you edit images in the software, because only the proprietary formats retain all the editing power of the programs. These packages use layers, for example, to build complex images, and layer information may be lost in the nonproprietary formats such as TIFF and JPG. However, be sure to save your end result as a standard TIFF or JPG, or you may not be able to view it in a few years when your software has changed.
What is CAD?
Computer Aided Design (CAD) is simply, design and drafting with the aid of a computer. Design is creating a real product from an idea. Drafting is the production of the drawings that are used to document a design. CAD can be used to create 2D or 3D computer models. A CAD drawing is a file that consists of numeric data in binary form that will be saved onto a disk.
Why should you use CAD?
Traditional drafting is repetitious and can be inaccurate. It may be faster to create a simple “rough” sketch by hand but larger more complex drawings with repetitive operations are drawn more efficiently using CAD.
Why use AutoCAD?
AutoCAD is a computer aided design software developed by Autodesk Inc. AutoCAD was first introduced in 1982. By the year 2000, it is estimated that there were over 4 million AutoCAD users worldwide. What this means to you is that many employers are in need of AutoCAD operators. In addition, learning AutoCAD will give you the basics for learning other CAD packages because many commands, terms and concepts are used universally.
Cloud Computing
Cloud computing has been called the way of the future. It opens doors by making applications and technology more accessible than in previous years. Companies that would normally require enormous amounts of startup capital may only need a fraction of what was previously required to succeed.
Currently, if the company can afford it, then they can have access to the full Microsoft Suite, ERP applications, CRM applications, accounting software, and a host of other applications that will improve productivity within a company.
The past of cloud computing is bright, but the future of cloud computing is even brighter. Here is what you may need to know about trends in cloud computing.
Proactive Application Monitoring
Proactive application monitoring technology is currently available, but predictive technology and software will soon make this more robust and accurate. Companies will be able to foresee disaster and avert it, mitigating damage to their systems. This will prevent downtime and make the company safer.
Technology to Ensure Uptime
Companies need uptime guarantees. With low-power processors, data centers will become more affordable, allowing companies to acquire seven to ten data centers around the world in different time zones and thereby allowing them to guarantee 99.9 percent uptime. This will keep companies from losing money and falling prey to their competitors. In the future, this concern will be near obsolete. Because of this, many small hosting companies like GloboTech Communications are offering cloud services to ensure better uptime, while big players like Hivelocity and Amazon are also leveraging this new technology.
Cloud Computing’s Role in Disaster Recovery and Remote Access
Cloud computing enables and enhances remote access and faster disaster recovery. When companies have an emergency information security strategy with security penetration tests, companies can maintain their competitive edge within their respective industries.
With cloud computing, some companies that didn’t recognize a breach may recover within minutes instead of hours. Losing proprietary data can cripple a company and even cause doors to close. Every company should migrate to cloud computing for this reason.
Cloud Computing Becoming More Robust
Cloud computing is becoming more about “fit and function” than about the “hype” surrounding the new technology. Most companies can benefit from cloud computing, but some companies have suffered failed projects during the migration phase because the technology is still in the developmental stages. Typically, migrations fail because of inaccurate or missing data.
Data accuracy must be ensured to avoid catastrophe or business interruption. Service providers must ensure that the migration of all data occurs without mishap. Technicians can still make configuration mistakes that compromise the safety of company data. In the future, migrations will be seamless, and technology will be more robust.
The Ability to Validate Identities through Trusts
In the future, cloud security systems will be able to validate identities through a “centralized trust.” Identity-based security is thought to be more secure than current forms of security. More people will begin to trust cloud computing when this happens.
Centralized Data is the Future in Cloud Computing
Centralized data is expected in abundance in the future of cloud computing. This allows companies to create huge databases. Patient care can be improved with centralized data in huge databases. Better stock market decisions are also possible. Centralized data is a way of the future.
More Capability
Mobile devices that rely on the cloud will become more powerful and thinner because all applications will be web-based. All mobile devices will store data that resides in the cloud, and designers can add more capability and lower costs of the phone. One example of this concept is Apple’s iCloud.
Hybrid Cloud Computing Increases Efficiency
Hybrid cloud computing is expected to help businesses become more efficient by optimizing business process performance. Businesses are excited about hybrid cloud computing because it enhances internal infrastructure and applications. The ability to scale the strengths of local networks and cloud computing is coveted by designers.
Mobile Optimization for Cloud Services
Mobile commerce is on the rise. Cloud computing applications require fewer resources and are recommended for mobile devices. Accessibility is increased because fewer resources are required. This is why cloud computing is recommended for business and personal applications.
Commodity Hardware
Pundits predict that by 2020, low-cost hardware will make it easier to configure advanced data centers capable of complex algorithms at fast speeds. This will increase uptimes and improve user satisfaction. In fact, some pundits commented that “servers and storage devices will look like replaceable sleds.”
Low-Power Processors
Low power processors are expected to lower the cost of operation in large data centers. Users can expect to reduce electricity bills significantly. Low-power ARM chips will make this possible in the upcoming year. With 64-bit capability, uptake should be accelerated. These low-power ARM chips will be used in conjunction with RISC chips and enterprise software to yield an economical and environmentally-friendly solution.
Faster Interconnects
Cloud computing is still in its infancy stage. By 2020, cloud computing is expected to be a permanent solution in many organizations. Data centers will be automated and will support scalable software architecture.
Cloud Computing Will Help Businesses Optimize Their Investments
Cloud computing can help companies optimize investments and scale operations. In the future, new low-power processors and other chip technology will help businesses operate to their full IT capacity. With more innovation, greater revenue potential is possible. Companies can re-invest in their products and services with higher profit margins. Scaling investments will also lead to greater operational agility.
Efficient business models are also possible with cloud computing. With greater efficiency, companies can bring innovative and superior products to market faster than competitors.
Better Overall Security and Assumed Reliability
Currently, designers are working hard to ensure people that cloud computing is the way of the future. It will be the preferred method of hosting applications, platforms, and services. By 2020, it will no longer be a topic of discussion, and experts will be more concerned with how companies can use big data to solve complex problems with cloud computing than with convincing people of its usefulness.
Data center physical security is just as important as data encryption. While minimum encryption regulations may be increased from the current 256-bit SSL, physical access to data center facilities may require biometric scans in addition to electronic pass. These facilities will also be protected by advanced alarm systems.
In addition to physical security, firewall and VPN technology will be improved to protect data transfer. New firewall policies, although not fully defined, will limit VPN traffic to specific IP addresses and ports. With upgraded firmware, breaches will be less likely to occur.
What is the Future of Cloud Computing?
The future of cloud computing is bright for the companies that implement the technology now. While these are some trends that are expected in the future, the future is not limited to these trends. Remain abreast of the latest developments to help your company maintain a competitive advantage. This will make your company more profitable and productive when it can complete tasks faster and more efficiently than the competition.
Thursday, 15 January 2015
Acharya Patanjali - Father of Yoga
Varahamihir - Eminent Astrologer and Astronomera (499-587 CE)
Acharya Sushrut - Father of Plastic Surgery (600 BCE)
Semaphore
Sleeping barber problem
The problem
Solution
Implementation
5 characteristics of Cloud Computing
On demand self services
Broad network access
Resource pooling
Rapid elasticity
Measured service
Multi Tenacity
Wednesday, 14 January 2015
Microsoft Windows XP
Introduction
Start Menu
- All Programs – The all programs menu holds all of the applications that come with Windows XP or ones that you have installed that are supplied by the university or ones that you have installed yourself.
- My Recent Documents – is a list of the most recent documents that you have worked on.
- Control Panel – NEW! It now has its own menu. Control Panel is full of specialized tools that are used to change the way Windows looks and behaves.
- Help and Support - NEW! The Help and Support Center is your comprehensive resource for tools and information. Use Search, the Index, or the table of contents to gain access to the extensive online Help system.
- Search – NEW! This use to be called Find, this option allows you to search for files and folders on your computer.
- Run – This option allows you to specify a program to run if it does not have an entry in the All Programs Menu
- Turn Off The Computer – NEW! It is the same as the Shutdown option from Windows 98. IT IS VERY IMPORTANT FOR YOU TO USE THIS OPTION BEFORE YOU TURN OFF THE COMPUTER.
The Control Panel
Display Properties
- Under Windows and Buttons you can change the look of a Window Box to the XP style (above) or you can select Classic style, which is the style that was used in Windows 98.
- Under Color Scheme you can choose different color for the windows boxes.
- Under Font Size you can choose between small, normal, and large icons.
Mouse Settings
Setting a Screen Saver
The Accessories Menu
- Calculator – it can be set for simple or complex math operations.
- Command Prompt - MS-DOS, the acronym for Microsoft Disk Operating System, is an operating system with a command-line interface used on personal computers.
- Notepad – A simple text editor.
- Paint – A paint program for editing pictures.
- Word Pad - A low level word processor.
WordPad
- To open WordPad, click Start, point to All Programs, point to Accessories, and then click WordPad.
Paint
- To open Paint, click Start, point to All Programs, point to Accessories, and then click Paint.
Multi-Tasking
Shortcuts
- Use the right mouse button to click on the desktop (anywhere not in a window), a menu will appear.
- From the New menu choose Shortcut.
- This dialog box will walk you through the process of creating the shortcut. Once you find the file by clicking on the browse button, you can name the folder or file anything you like. If you make a mistake in the previous dialog window click the Back button. Then click Finish and you will see the shortcut on your desktop.
My Computer
To start My Computer
Changing Your Desktop
Making Your Own Icons
- Click on Start, Programs, Accessories, and Paint.
- From the pull down menu bar, click on Image and then select Attributes.
- Enter 32 Pixels in Height and Width. Click Ok.
- A small white box appears. Then create an icon using the Paintbrush or Pencil Tools.
- Select File, Save As. Name the file and click Save.
Replacing the Shortcut on Your Desktop
- Right-click on the shortcut and choose Properties.
- Click on the Change Icon button.
- Click on Browse and locate the icon you saved.
- Locate the file and highlight it. Click Open. Then click OK.