The document provides an introduction to digital computers and number systems. It discusses computer systems and architecture, decimal and binary number systems, number conversion between systems, and character encoding standards like ASCII, ISCII, and Unicode. It also introduces programming concepts like flowcharts, algorithms, and C/C++ compilers. Key topics covered include data representation, computer components, software types, number bases, programming languages, and applications of C/C++.
An overview of object oriented programming including the differences between OOP and the traditional structural approach, definitions of class and objects, and an easy coding example in C++. This presentation includes visual aids to make the concepts easier to understand.
An overview of object oriented programming including the differences between OOP and the traditional structural approach, definitions of class and objects, and an easy coding example in C++. This presentation includes visual aids to make the concepts easier to understand.
oops concept in java | object oriented programming in javaCPD INDIA
object oriented programming is a key concept for the development of application in windows as well as web based application environment. oops concept maps real world through its concept of classes, objects, inheritance, polymorphism which help in making a robust application.
oops concept in java | object oriented programming in javaCPD INDIA
object oriented programming is a key concept for the development of application in windows as well as web based application environment. oops concept maps real world through its concept of classes, objects, inheritance, polymorphism which help in making a robust application.
hinditutorialspoint.com
<a href="https://hinditutorialspoint.com/">what is java in hindi</a>
<a href="https://hinditutorialspoint.com/">History of java in hindi</a>
<a href="https://hinditutorialspoint.com/">Java Features in Hindi</a>
<a href="https://hinditutorialspoint.com/">jvm in java in hindi, java virtual </a>
<a href="https://hinditutorialspoint.com/">machine in hindi,</a>
<a href="https://hinditutorialspoint.com/">JRE in Java in Hindi</a>
<a href="https://hinditutorialspoint.com/">Introduction to HTML in Hindi</a>
<a href="https://hinditutorialspoint.com/">What is HTML in Hindi</a>
<a href="https://hinditutorialspoint.com/">html attributes in hindi</a>
<a href="https://hinditutorialspoint.com/">Elements in html in hindi</a>
<a href="https://hinditutorialspoint.com/">Formatting in html in hindi</a>
Number Systems — Decimal, Binary, Octal, and Hexadecimal
Base 10 (Decimal) — Represent any number using 10 digits [0–9]
Base 2 (Binary) — Represent any number using 2 digits [0–1]
Base 8 (Octal) — Represent any number using 8 digits [0–7]
Base 16(Hexadecimal) — Represent any number using 10 digits and 6 characters [0–9, A, B, C, D, E, F]
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
2. Content
Computer system
Computer Architecture
Decimal Number System
Number System Conversion
ASCII,
ISCII,
Unicode
Introduction to programming
Problem-solving and expression of solution through flow chart and algorithm,
Parts of a computer program
Intel® C/C++ compiler vs GCC C vs C++
C++ fundamentals
3.
4. Computer system
A computer system is an integrated form of different components that work together to give a
desirable result.
It has different components and each works for a specific purpose; however, they generate a
common result as required by the user.
Components of Computer System
Hardware
Software
Humanware
Firmware
Bridgeware
5. Hardware
The physical components collectively form the hardware of a computer system. Hardware comprises
the equipment that helps in the working system of the computer.
Monitor − It displays (visual) the result.
CPU − It is the Central Processing Unit that controls the computer’s functions and transmits data.
Motherboard − It is mainly accountable to establish communication between components and
transmission of information.
RAM − It is the Random Access Memory and is responsible for the storage of programs that are
currently running and also stores data temporarily.
Hard Disk Drive − It is a permanent memory storage device.
Floppy Disk Drive − It is hardly being used in recent times.
Optical disks − It is a device that also stores data. For example, CDs, DVDs, etc.
6. Input & Output Device
The following table categorically lists down the input and output device −
7. Software
The hardware components can only function when software components are added to the computer
system. Software is a program that performs different commands given by a user.
Software is an intangible part of hardware and controls the sequence of operations.
Types of Software
Depending on the basic features and functionality, the software can be categorized as −
Operating Systems (OS)
Application Software (AS)
E-accessibility Software
8. Operating System
This software helps to load the basic program automatically as soon as the computer is started.
Following are the major types of operating system −
9. Application Software
The software, which can be used on an installed operating system, is known as application software.
Following are the significant examples of application software −
10. E-accessibility Software
The E-accessibility software components additional facilities to users such as −
Voice recognition software
Screen reader
Magnifying tool
On-screen keyboard
Video games
Learning software, etc.
11. Computer architecture
Computer architecture can be defined as a set of rules and methods that describe the functionality,
management, and implementation of computers.
Computer Architecture can be divided into mainly three categories, which are as follows −
Instruction set Architecture or ISA − Whenever an instruction is given to the processor, its role is
to read and act accordingly. It allocates memory to instructions and also acts upon memory address
mode (Direct Addressing mode or Indirect Addressing mode).
Micro Architecture − It describes how a particular processor will handle and implement
instructions from ISA.
System design − It includes the other entire hardware component within the system such as
virtualization and multiprocessing.
12. Structure of Computer Architecture
Generally, computer architecture consists of the
following −
Processor
Memory
Peripherals
All the above parts are connected with the help of
system bus, which consists of address bus, data bus
and control bus.
13. Number System
Number system is important from the viewpoint of understanding how data are represented before
they can be processed by any digital system including a digital computer.
1. Decimal Number System
2. Binary Number System
3. Octal Number System
4. Hexa Decimal Number System
14. Decimal Number System
The number system that we use in our day-to-day life is the decimal number system.
Decimal number system has base 10 as it uses 10 digits from 0 to 9.
In the decimal number system, the successive positions to the left of the decimal point represent
units, tens, hundreds, thousands, and so on.
Each position represents a specific power of the base (10). For example, the decimal number 1234
consists of the digit 4 in the units position, 3 in the tens position, 2 in the hundreds position, and 1
in the thousands position. Its value can be written as:
15. Binary Number System
A binary number system represents a number in terms of only two digits, i.e., 0 (zero) and 1 (one).
In the word “binary”, “bi” means “two”.
The base-2 numeral system is used to represent binary numbers. For example, (1101)2 is a binary
number where 2 is the radix. Each digit in the binary number system is said to be a “bit”.
All inputs given to a computer are decoded by it into a series of 0’s or 1’s before being processed
further since a computer can only understand binary information.
16. Decimal to Binary Conversion
A decimal number is converted into a binary number by dividing the given decimal number by 2
continuously until we get the quotient as 1, and we write the numbers from downwards to upwards.
Example: Convert (28)10 into a binary number.
17. Binary to Decimal Conversion
A binary number is converted into a decimal number by multiplying each digit of the binary number
by the power of either 1 or 0 to the corresponding power of 2.
Let us consider that a binary number has n digits, B = an-1…a3a2a1a0. Now, the corresponding
decimal number is given as D= (an-1 × 2n-1) +…+(a3 × 23) + (a2 × 22) + (a1 × 21) + (a0 × 20).
Example: Convert (10011)2 to a decimal number.
18. Problems
Problem 1: Convert the decimal number (98)10 into binary.
Problem 2: Convert the binary number (1010101)2 to a decimal number.
Problem 3: Divide (11110)2 by (101)2.
Problem 4: Add (11011)2 and (10100)2.
Problem 5: Subtract (11010)2 and (10110)2.
Problem 6: Multiply (1110)2 and (1001)2.
19. Octal number system
It has eight digits (0, 1, 2, 3, 4, 5, 6, 7) so its base is 8. Each digit in an octal number represents a
specific power of its base (8).
As there are only eight digits, three bits (23=8) of binary number system can convert any octal
number into binary number. This number system is also used to shorten long binary numbers.
The three binary digits can be represented with a single octal digit.
20. Octal to Binary number conversion
Write the binary representation for each octal digit
Join those numbers together
You will have a binary number
21. Binary to Octal number conversion
Group the binary number into sets of three digits from the right.
Bring each group of digits to a multiple of three by adding zeroes to the left.
Write the corresponding octal symbol underneath each group.
You will have an octal number.
22. Hexadecimal number system
This number system has 16 digits that ranges from 0 to 9 and A to F. So, its base is 16. The A to F
alphabets represent 10 to 15 decimal numbers.
The position of each digit in a hexadecimal number represents a specific power of base (16) of the
number system.
As there are only sixteen digits, four bits (24=16) of binary number system can convert any
hexadecimal number into binary number.
It is also known as alphanumeric number system as it uses both numeric digits and alphabets.
23. Hexadecimal to Decimal number
conversion
Hexadecimal numbers are preceded by a # to indicate that they are base-16.
26. Binary to Hexadecimal Conversion
Binary numbers are easy for computers but not so easy for humans to understand. And when you’re
working with large numbers, it becomes difficult to both write without error. So, to fix this problem
we can arrange binary numbers into groups of four bits, forming the hexadecimal number system.
Group the binary digits into sets of four (starting on the right). Then, we replace each quartet with
the corresponding hexadecimal representation.
27. Hexadecimal to Binary Conversion
Write binary number for digit of the Hexadecimal number separately.
Join all the binary digit from left to right to get the whole binary number for the given hexadecimal
number.
30. ASCII-American Standard Code for
Information Interchange
ASCII (American Standard Code for Information Interchange) is the most common character
encoding format for text data in computers and on the internet
In standard ASCII-encoded data, there are unique values for 128 alphabetic, numeric or special
additional characters and control codes.
ASCII encoding is based on character encoding used for telegraph data. The American National
Standards Institute first published it as a standard for computing in 1963.
Characters in ASCII encoding include upper- and lowercase letters A through Z, numerals 0
through 9 and basic punctuation symbols. It also uses some non-printing control characters that
were originally intended for use with teletype printing terminals.
31. ASCII representation
ASCII characters may be represented in the following ways:
as pairs of hexadecimal digits -- base-16 numbers, represented as 0 through 9 and A through F for
the decimal values of 10-15;
as three-digit octal (base 8) numbers;
as decimal numbers from 0 to 127; or
as 7-bit or 8-bit binary
32.
33. ISCII - Indian Script Code for
Information Interchange
Indian Script Code for Information Interchange (ISCII) is a coding scheme for representing various
writing systems of India. It encodes the main Indic scripts
It consists of 256 characters. Furthermore,
◦ the first 128 characters are the same as the ASCII coding.
◦ the rest characters from 128-255 are the characters of different Indian languages.
◦ it uses 8 bits to represent the characters.
34. Supported Languages in ISCII
The standard supports various Indian languages. They are as follows:
◦ Punjabi
◦ Gujarati
◦ Oriya
◦ Telugu
◦ Kannada
◦ Devanagari
◦ Bengali
◦ Assamese
◦ Tamil
◦ Malayalam
https://www.toppr.com/guides/computer-science/computer-fundamentals/internal-storage-encoding-of-characters/iscii/
35. UNICODE- universal character encoding
Unicode is the universal character encoding, maintained by the Unicode Consortium. This encoding
standard provides the basis for
◦ processing,
◦ storage and
◦ interchange of text data in any language in all modern software and information technology protocols.
36. Unicode Coding Scheme ASCII Coding Scheme
It uses variable bit encoding according to the requirement.
For example, UTF-8, UTF-16, UTF-32
It uses 7-bit encoding. As of now, the extended form uses 8-
bit encoding.
It is a standard form. It is not a standard all over the world.
People use this scheme all over the world.
It has only limited characters hence, it cannot be used all over
the world.
The Unicode characters themselves involve all the
characters of the ASCII encoding. Therefore we can say
that it is a superset for it.
It has its equivalent coding characters in the Unicode.
It has more than 128,000 characters. In contrast, it has only 256 characters.
Difference between Unicode and ASCII
37. Difference Between Unicode and ISCII
Unicode Coding Scheme ISCII Coding Scheme
It uses variable bit encoding according to the
requirement. For example, UTF-8, UTF-16, UTF-32
It uses 8-bit encoding and is an extension of ASCII.
A Unicode coding scheme is a standard form.
It is not a standard all over the world. Moreover, it covers only
some Indian languages.
People use this scheme all over the world.
It covers only limited Indian languages hence, it cannot be
used all over the world.
The characters themselves involve all the characters of
the ISCII encoding. Therefore we can say that it is a
superset for it.
It has its equivalent coding characters in the Unicode.
It has more than 128,000 characters. In contrast, it has only 256 characters.
38. Introduction to Programming
The computer system is simply a machine and hence it cannot perform any work; therefore, in order
to make it functional different languages are developed, which are known as programming languages
or simply computer languages.
Following are the major categories of Programming Languages −
Machine Language
Assembly Language
High Level Language
39. Machine language
Machine language is a collection of binary digits or bits that the computer reads and interprets.
Machine language is the only language a computer is capable of understanding.
Machine level language is a language that supports the machine side of the programming or does
not provide human side of the programming. It consists of (binary) zeros and ones.
Each instruction in a program is represented by a numeric code, and numerical addresses are used
throughout the program to refer to memory locations in the computer’s memory.
40. Assembly language
A processor understands only machine language instructions, which are strings of 1's and 0's.
However, machine language is too obscure and complex for using in software development. So, the
low-level assembly language is designed for a specific family of processors that represents various
instructions in symbolic code and a more understandable form.
43. Why C programming?
As a middle-level language, C combines the features of both high-level and low-level languages
C is a structured programming language which allows a complex program to be broken into simpler programs
called functions.
Various features of C including
◦ direct access to machine level hardware APIs,
◦ the presence of C compilers,
◦ deterministic resource use and
◦ dynamic memory allocation
C language an optimum choice for scripting applications and drivers of embedded systems
C is a general-purpose programming language
C language has a rich library which provides a number of built-in functions.
C implements algorithms and data structures swiftly, facilitating faster computations in programs.
44. Why C programming?
The development of various languages has been influenced by C language
◦ C++ (also known as C with classes),
◦ C#,
◦ Python,
◦ Java,
◦ JavaScript,
◦ Perl,
◦ PHP,
◦ Verilog,
◦ D, Limbo and
◦ C shell of Unix
45. Where C is used
Operating Systems
Development of New Languages
Computation Platforms
Embedded Systems
Graphics and Games
46. Applications written in C/C++
Adobe Systems
Google Applications
Google file system
Google Chromium browser
MapReduce large cluster data processing.
Mozilla Firefox and Thunderbird
MySQL Server
Alias System – Autodesk Maya
Winamp Media Player
12D Solutions
Bloomberg RDBMS
Callas Software
Image Systems
Microsoft Operating Systems
Symbian Operating System
49. Types of programming
The 4 types of Programming Language that are classified are:
◦ Procedural Programming Language
◦ A procedural language is a computer programming language that follows, in order, a set of commands. Examples of computer procedural languages
are BASIC, C, FORTRAN, Java, and Pascal.
◦ Functional Programming Language
◦ Functional programming languages are specially designed to handle symbolic computation and list processing applications. Some of the popular
functional programming languages include: Lisp, Python, Erlang, Haskell, Clojure, etc.
◦ Scripting Programming Language
◦ A scripting language is a programming language that employs a high-level construct to interpret and execute one command at a time. It is translated
into machine code when the code is run, rather than beforehand. JavaScript, Python, and Ruby are all examples of scripting languages.
◦ Logic Programming Language
◦ Logic programming is a programming paradigm which is largely based on formal logic. Any program written in a logic programming language is a
set of sentences in logical form
◦ Object-Oriented Programming Language
◦ Object-oriented language (OOL) is a high-level computer programming language that implements objects and their associated procedures within the
programming context to create software programs. Python, C++, Java are some of the object-oriented programming languages.
50. Difference Between Functional and Logical Programming
Functional Programming Logical Programming
It is totally based on functions. It is totally based on formal logic.
In this programming paradigm, programs are constructed by applying
and composing functions.
In this programming paradigm, program statements usually express or
represent facts and rules related to problems within a system of formal
logic.
These are specially designed to manage and handle symbolic
computation and list processing applications.
These are specially designed for fault diagnosis, natural language
processing, planning, and machine learning.
Its main aim is to reduce side effects that are accomplished by isolating
them from the rest of the software code.
Its main aim is to allow machines to reason because it is very useful for
representing knowledge.
Some languages used in functional programming include Clojure,
Wolfram Language, Erland, OCaml, etc.
Some languages used for logic programming include Absys, Cycl, Alice,
ALF (Algebraic logic functional programming language), etc.
It reduces code redundancy, improves modularity, solves complex
problems, increases maintainability, etc.
It is data-driven, array-oriented, used to express knowledge, etc.
Testing is much easier as compared to logical programming.
Testing is comparatively more difficult as compared to functional
programming.
51. What Is a Flow Chart?
Flow charts tend to consist of four main symbols, linked with arrows that show the direction of flow:
◦ Elongated circles, which signify the start or end of a process.
◦ Rectangles, which show instructions or actions.
52. Diamonds, which highlight where you must make a decision.
Parallelograms, which show input and output. This can include materials, services or people.
53.
54.
55. Problem Solving and Algorithms
Steps involved in algorithm development
Step 1: Obtain a description of the problem.
Step2. Identification of input
Step3: Identification of output
Step4 : Identification the processing operation
Step5 : Processing Definiteness
Step6 : Processing Finitenes
Step7 : Possessing Effectiveness
https://www.mcemotihari.ac.in/wp-content/uploads/2019/11/file_5dc2a6c80c260.pdf
56. Example
Suppose we want to find the average of three numbers, the algorithm is as follows
◦ Step 1 Read the numbers a, b, c
◦ Step 2 Compute the sum of a, b and c
◦ Step 3 Divide the sum by 3
◦ Step 4 Store the result in variable d
◦ Step 5 Print the value of d
◦ Step 6 End of the program
57. Example
Write an algorithm to calculate the simple interest using the formula. Simple interest = P*N* R/100.
Where P is principle Amount, N is the number of years and R is the rate of interest.
◦ Step 1: Read the three input quantities’ P, N and R.
◦ Step 2 : Calculate simple interest as
◦ Simple interest = P* N* R/100
◦ Step 3: Print simple interest.
◦ Step 4: Stop.
58. Parts of a computer program
The 5 Basic Coding Concepts
◦ Variables
◦ Data Structures
◦ Control Structures
◦ Syntax
◦ Tools
https://sphero.com/blogs/news/coding-concepts
59. Structure of a C Program
Include Header File Section
Global Declaration
Function main()
Declaration Part
Executable Part
Function Call
User-defined Function
Body of the Function
Comments: