0% found this document useful (0 votes)
21 views9 pages

Session

The document outlines key differences between C/C++ and Java, highlighting their procedural versus object-oriented nature, machine dependency, and compilation methods. It also categorizes software into system, application, and utility types, providing examples of each, including desktop, web, mobile, and AR/VR applications. Additionally, it explains loops in C programming and describes a simple Candy Catcher game, detailing its objective, setup, controls, and scoring system.

Uploaded by

kashishjobaliya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views9 pages

Session

The document outlines key differences between C/C++ and Java, highlighting their procedural versus object-oriented nature, machine dependency, and compilation methods. It also categorizes software into system, application, and utility types, providing examples of each, including desktop, web, mobile, and AR/VR applications. Additionally, it explains loops in C programming and describes a simple Candy Catcher game, detailing its objective, setup, controls, and scoring system.

Uploaded by

kashishjobaliya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

OVERVIEW OF LECTURES

-BY KASHISH JOBALIYA


KEY DIFFERENCES BETWEEN C/C++ AND JAVA

C/C++ JAVA
These are procedure oriented languages. Java is an object oriented language.
These are machine dependent. It is machine independent.
It requires recompilation. It works on “Write Once, Run
everywhere”.
After compiling it will generate a .obj After compiling it will generate .class file
file, .exe file, .backup file. which can easily run on any machine
having a JVM.

These languages are compiled using a Java uses both a compiler and an
compiler. interprete. It Converts Java code (.java)
into bytecode (.class) using javac. JVM
interprets the bytecode and executes it
on different platforms.
TYPES OF SOFTWARES

• System Software : System software is a type of software that manages


hardware and provides a platform for other software to run. It includes the
operating system (OS) and other essential programs that enable
communication between hardware and user applications.

• Application Software : Application software is designed for end-users to


perform specific tasks such as document creation, web browsing, media
playback, and gaming. It runs on top of the system software.

• Utility software : Utility software is a subset of system software designed to


help analyze, configure, optimize, and maintain the computer system. These
tools ensure system efficiency and security.
Application Software

1. Desktop Applications:
Desktop applications are software programs that run on a computer's operating system and do not require an internet connection
(except for cloud-based ones). They are installed directly on the user's computer.
Examples: Microsoft Office (Word, Excel, PowerPoint), Visual Studio Code (Code Editor)

2. Web Applications:
Web applications are software that runs in a web browser. They require an internet connection and do not need installation on the
local device.
Examples: Google Search, DuckDuckGo, Google Drive (Cloud Storage)

3. Mobile Applications:
Mobile applications (apps) are software designed to run on smartphones and tablets. They are available on platforms like Android
(Google Play Store) and iOS (Apple App Store).
Examples: WhatsApp (Messaging), Telegram (Chat & File Sharing), Zoom (Video Conferencing)

4. AR/VR/MR Applications:
Applications based on Augmented Reality (AR), Virtual Reality (VR), and Mixed Reality (MR) create immersive digital experiences.
Examples:
Augmented Reality (AR) Apps: Pokémon GO (AR Gaming), Google Lens (Object Recognition)
Virtual Reality (VR) Apps: Oculus Rift Apps (VR Games & Experiences)
Mixed Reality (MR) Apps: Microsoft HoloLens Apps (3D Holographic Computing)
Utility Software

• Computer-aided design (CAD) is the use of computers (or


workstations) to aid in the creation, modification, analysis, CAD or
optimization of a design.

• Computer-aided manufacturing (CAM) also known as Computer-


aided Modelling or Computer-aided Machining is the use of
software to control machine tools and related CAM ones in the
manufacturing of work pieces.
LOOPS IN C
Loops are used in programming to execute a block of code multiple times.
Based on when the loop condition is checked, loops are categorized into
Entry-Control Loops and Exit-Control Loops.

1. Entry Control Loop :


• The condition is checked before executing the loop body.
• If the condition is false initially, the loop does not execute.

Example:

#include <stdio.h>
int main() {
int i = 1;
while (i <= 5) { // Condition checked first
printf("%d\n", i);
i++}
return 0;
}
2. Exit-Control Loop:
• The condition is checked after executing the
loop body.
• The loop executes at least once, even if the
condition is false initially.

Example :

#include <stdio.h>
int main() {
int i = 6;
do {
printf("%d\n", i);
i++;
} while (i <= 5); // Condition checked after
execution
return 0;
}
CANDY CATCHER GAME IN C

Objective
Catch falling candies ('0') with a moving box ('#').
Earn points for each successful catch.

Game Setup
Background color is set to blue.
Score and lifeline are displayed at the top-right.
Candy starts falling from a random position.

Controls
'A' / 'a' → Move left (within screen limits).
'D' / 'd' → Move right (within screen limits).
'X' / 'x' → Exit the game.

Scoring System
If the box catches the candy, score increases.
If missed, lifeline decreases.
If lifelines reach zero, the game ends with "GAME OVER".
THANK YOU

You might also like