SlideShare una empresa de Scribd logo
1 de 9
Descargar para leer sin conexión
Certified C++ Developer
Sample Material
VS-1249
Certified C++ Developer
www.vskills.in Page 2
1. OBJECT-ORIENTED PROGRAMMING BASICS
1.1. Computer and Software Basics
All computer systems perform the following 5 basic operations
Input
The process of entering the data and instruction into computer system. It involves three steps -
accepting the list of instruction from user in their format. Then converting these instructions in
computer acceptable form. Supplying the instructions to computer system for processing.
Process
It is the actual processing in the CPU that takes place on the data, as per the given instructions.
Output
The process of output of the data from the computer system. It accepts the results produced by
computer, which are in coded form. It converts the coded form to human acceptable form. It
supplies the converted results to user.
Block Diagram of a Computer
Software
As, we earlier noted that software is instructions, programs for the computer, but there are various
types of software. Software can be classified as
System Software
Software which control the operation of a computer system. They directly interface with the
hardware of the computer system. They provide a platform over which application software runs.
It controls the execution of application programs. For example Operating System like MS-DOS,
MS-WINDOWS XP/ 2003, LINUX
Operating System Software - It is a type of system software. It is a master program which runs in
the computer and controls the hardware and running of the application software. It is the software,
Certified C++ Developer
www.vskills.in Page 3
which is loaded into the memory first, when a computer is started. The operating system manages
the data in the computer system, various jobs or task assigned to it and is responsible for the
security and proper functioning of the computer. Every general-purpose computer must have an
operating system to run other programs. Operating systems perform basic tasks, such as
recognizing input from the keyboard, sending output to the display screen, keeping track of files
and directories on the disk, and controlling peripheral devices such as disk drives and printers.
LINUX, Windows XP/2003, MS-DOS are common examples of operating system.
The major functions of an Operating System are
Resource management - The resource management function of an OS allocates computer
resources such as CPU time, main memory, secondary storage, and input and output
devices for use.
Data management - The data management functions of an OS govern the input and output
of the data and their location, storage, and retrieval.
Task management - The Task management function of an OS prepares, schedules,
controls, and monitors jobs submitted for execution to ensure the most efficient
processing. A job is a collection of one or more related programs and their data.
Command Interpretation - The OS establishes a standard means of communication
between users and their computer systems. It does this by providing a user interface
(Graphical based as in Windows or Character based as in DOS) and a standard set of
commands that control the hardware.
Some of the typical uses of an Operating System are
1. Executing application programs.
2. Formatting floppy or hard or flash disk.
3. Setting up directories to organize your files.
4. Displaying a list of files stored on a particular disk.
5. Verifying that there is enough room on a disk to save a file.
6. Protecting and backing up your files by copying them to other disks for safekeeping.
Device Drivers - A device driver is a program that controls a particular type of device that is
attached to computer. There are device drivers for printers, displays, CD-ROM readers, diskette
drives, and so on. When you buy an operating system, many device drivers are built into the
product. However, if you later buy a new type of device that the operating system didn't anticipate,
you'll have to install the new device driver. A device driver essentially converts the more general
input/output instructions of the operating system to messages that the device type can understand.
In Windows operating systems, a device driver file usually has a file name suffix of DLL or EXE.
A virtual device driver usually has the suffix of VXD.
Application Software
These types of software fulfill a specific user’s requirement. They run over the system software.
Application programmers develop the application software. They carry out operation for a specific
application. For example accounting software, word processor software, etc. Some of application
packages are
Word Processing Software - This software is used to create and to edit documents such as letters,
reports, essays etc. The word processing software provides several features for document editing
Certified C++ Developer
www.vskills.in Page 4
and formatting. In. editing process, text is entered into the document, deleted, copied or moved to
another location etc. In formatting process, different formats can be applied on the text to make
the document more attractive before to print on the printer. The most popular word processing
software programs are Microsoft Word, Word Perfect etc.
Spreadsheet Software - Spreadsheet software is used to store and process data in an electronic
sheet having columns and rows. The data is entered into the cells of the sheet. The intersection of
a row and a column is known as cell. Each cell is a unique address. The numbers and formulas are
entered into the cells and the computer can automatically perform the calculation on numerical
data in cells. The spreadsheet software is commonly used for business application such as for
performing financial calculations and recording transactions. The most popular example of
spreadsheet software is Microsoft Excel etc.
Database Management Software - Database management software is used to create and manage
databases. A database is a collection of related information or records on any subject such as
records of the books in a library, information about the students of a college etc. Database
Management Software stores and manages records in databases. These records can be accessed
very quickly when required. The Microsoft Access, Oracle etc. are most popular examples of
Database Management Software.
Presentation Graphics Software - The presentation graphic software is used to create slides for
making presentations. The presentation graphic software also has pre-drawn clip art images, which
can be inserted into slides and can be modified. The PowerPoint is an example of presentation
graphic software.
Communication Software - The Communication software is used to exchange information
electronically. It is most commonly used software to send and receive information on the Internet.
It also allows for sending and receiving faxes directly. The computer files can also be transferred
from one PC to another through this software. The Internet Explorer is an example of this
software.
Other Software
Utility software - This software is a kind of system software designed to help analyze, configure,
optimize and maintain the computer. A single unit of utility software is usually called a utility or
tool. They are often rather technical and targeted at people with an advanced level of computer
knowledge. Most utilities are highly specialized and designed to perform only a single task or a
small range of tasks. However, there are also some utility suites that combine several features in
one piece of software. Most major operating systems come with several pre-installed utilities. Disk
defragmenter, disk cleanup, backup are common utilities of Windows.
Custom Made Software - Custom Made Software is the software, which is made for fulfillment of
the user’s requirement. Software programmers develop the software for the customer, as per the
customer’s needs.
Packaged Software - Off the shelf or packaged software is readymade software, which we purchase
like a commodity.
Certified C++ Developer
www.vskills.in Page 5
Translators
A language translator or a language processor is a general term used for any assembler, compiler or
other routine that accepts statements in one language and produces equivalent statements in
another language. The language processor reads instructions in a language called source program
and converts to other language usually in machine language, also called the executable program.
Computers understand machine language which we humans do not understand hence, a translator
between human and machine language is needed. Three types of translators are
Assembler - This is a program used to translate assembly language program to machine code. It
was used earlier and is not widely used these days.
Compiler - A computer translates program written in high-level language into executable program.
Compiler is more complex program than assembler or other system programs and hence they
need more memory. The language processor translates the complete source program as a whole in
machine code before execution. The C and C++ compilers are best examples of compilers.
Interpreter - It also translates high-level language into machine language. But unlike compilers it
translates a statement in program and executes the statement immediately before to translate the
next statement. When an error occurs in the program the program is halted and an error message
is displayed. An interpreter does not generate a permanent saved object code file. Whenever a
program is re-executed the translation process is repeated. The OWBASIC is an example of
interpreter.
1.2. C++ Evolution
As object-oriented analysis, design, and programming began to catch on, Bjarne Stroustrup took
the most popular language for commercial software development, C, and extended it to provide
the features needed to facilitate object-oriented programming. He created C++, and in less than a
decade it has gone from being used by only a handful of developers at AT&T to being the
programming language of choice for an estimated one million developers worldwide. It is expected
that by the end of the decade, C++ will be the predominant language for commercial software
development.
While it is true that C++ is a superset of C, and that virtually any legal C program is a legal C++
program, the leap from C to C++ is very significant. C++ benefited from its relationship to C for
many years, as C programmers could ease into their use of C++. To really get the full benefit of
C++, however, many programmers found they had to unlearn much of what they knew and learn a
whole new way of conceptualizing and solving programming problems.
The Accredited Standards Committee, operating under the procedures of the American National
Standards Institute (ANSI), is working to create an international standard for C++. The draft of this
standard has been published, and a link is available at www.libertyassociates.com.
The ANSI standard is an attempt to ensure that C++ is portable--that code you write for
Microsoft's compiler will compile without errors, using a compiler from any other vendor.
Timeline
Certified C++ Developer
www.vskills.in Page 6
The work that led to C++ started in the fall of 1979 under the name ‘‘C with Classes.’’
Here is a simplified timeline:
1979 Work on ‘‘C with Classes’’ started. The initial feature set included classes and derived
classes, public/private access control, constructors and destructors, and function
declarations with argument checking. The first library supported non-preemptive
concurrent tasks and random number generators.
1984 ‘‘C with Classes’’ was renamed to C++. By then, C++ had acquired virtual functions,
function and operator overloading, references, and the I/O stream and complex number
libraries.
1985 First commercial release of C++ (October 14). The library included I/O streams,
complex numbers, and tasks (nonpreemptive scheduling).
1985 The C++ Programming Language (‘‘TC++PL,’’ October 14) [Stroustrup,1986].
1989 The Annotated C++ Reference Manual (‘‘the ARM’’).
1991 The C++ Programming Language, Second Edition [Stroustrup,1991], presenting
generic programming using templates and error handling based on exceptions (including
the ‘‘Resource Acquisition Is Initialization’’ general resource management idiom).
1997 The C++ Programming Language, Third Edition [Stroustrup,1997] introduced ISO
C++, including namespaces, dynamic_cast, and many refinements of templates. The
standard library added the STL framework of generic containers and algorithms.
1998 ISO C++ standard.
2002 Work on a revised standard, colloquially named C++0x, started.
2003 A ‘‘bug fix’’ revision of the ISO C++ standard was issued. A C++ Technical Report
introduced new standard-library components, such as regular expressions, unordered
containers (hash tables), and resource management pointers, which later became part of
C++0x.
2006 An ISO C++ Technical Report on Performance was issued to answer questions of
cost, predictability, and techniques, mostly related to embedded systems programming.
2009 C++0x was feature complete. It provided uniform initialization, move semantics,
variadic template arguments, lambda expressions, type aliases, a memory model suitable
for concurrency, and much more. The standard library added several components,
including threads, locks, and most of the components from the 2003 Technical Report.
2011 ISO C++11 standard was formally approved.
2012 The first complete C++11 implementations emerged.
2012 Work on future ISO C++ standards (referred to as C++14 and C++17) started.
2013 The C++ Programming Language, Fourth Edition introduced C++11. During
development, C++11 was known as C++0x. As is not uncommon in large projects, we were
overly optimistic about the completion date.
1.3. C++ Program Translation
The following three steps are required to create and translate a C++ program:
First, a text editor is used to save the C++ program in a text file. In other words, the source
code is saved to a source file. In larger projects the programmer will normally use modular
programming. This means that the source code will be stored in several source files that are
edited and translated separately.
Certified C++ Developer
www.vskills.in Page 7
The source file is put through a compiler for translation. If everything works as planned, an
object file made up of machine code is created. The object file is also referred to as a
module.
Finally, the linker combines the object file with other modules to form an executable file.
These further modules contain functions from standard libraries or parts of the program
that have been compiled previously.
It is important to use the correct file extension for the source file’s name. Although the file
extension depends on the compiler you use, the most commonly found file extensions are .cpp
and .cc.
Prior to compilation, header files, which are also referred to as include files, can be copied to the
source file. Header files are text files containing information needed by various source files, for
example, type definitions or declarations of variables and functions.
Header files can have the file extension .h , but they may not have any file extension. The C++
standard library contains predefined and standardized functions that are available for any compiler.
Certified C++ Developer
www.vskills.in Page 8
Modern compilers normally offer an integrated software development environment, which
combines the steps mentioned previously into a single task. A graphical user interface is available
for editing, compiling, linking, and running the application. Moreover, additional tools, such as a
debugger, can be launched.
Vskills c++ developer sample material

Más contenido relacionado

La actualidad más candente

BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2Ndubi Amos
 
Powerpoint on Software Concept (ClassXI)
Powerpoint on Software Concept (ClassXI)Powerpoint on Software Concept (ClassXI)
Powerpoint on Software Concept (ClassXI)Fernando Torres
 
software system_and_application_software
software system_and_application_softwaresoftware system_and_application_software
software system_and_application_softwareTallat Satti
 
Kinds of Computer software
Kinds of  Computer softwareKinds of  Computer software
Kinds of Computer softwareMyra Juan
 
Introduction to Computer Softwares
Introduction to Computer SoftwaresIntroduction to Computer Softwares
Introduction to Computer SoftwaresNaresh Dubey
 
Computer Software and Operating System
Computer Software and Operating SystemComputer Software and Operating System
Computer Software and Operating SystemRupan Sharma
 
Mca i-fundamental of computer-u-2- application and system software
Mca  i-fundamental of  computer-u-2- application and system softwareMca  i-fundamental of  computer-u-2- application and system software
Mca i-fundamental of computer-u-2- application and system softwareRai University
 
Unit 2 Foc
Unit 2 FocUnit 2 Foc
Unit 2 FocJAYA
 
computer software
computer softwarecomputer software
computer softwareAhsan Khan
 
Chapter 3 Application Software
Chapter 3  Application  SoftwareChapter 3  Application  Software
Chapter 3 Application Softwarenorzaini
 
04 software system and application software
04 software   system and application software04 software   system and application software
04 software system and application softwareSowmini Gowda
 
Software (application and utilities)
Software (application and utilities)Software (application and utilities)
Software (application and utilities)mawarbeduri97
 

La actualidad más candente (20)

BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2
 
Powerpoint on Software Concept (ClassXI)
Powerpoint on Software Concept (ClassXI)Powerpoint on Software Concept (ClassXI)
Powerpoint on Software Concept (ClassXI)
 
software system_and_application_software
software system_and_application_softwaresoftware system_and_application_software
software system_and_application_software
 
Software Concepts Notes
Software Concepts NotesSoftware Concepts Notes
Software Concepts Notes
 
Computer software
Computer softwareComputer software
Computer software
 
Kinds of Computer software
Kinds of  Computer softwareKinds of  Computer software
Kinds of Computer software
 
Introduction to Computer Softwares
Introduction to Computer SoftwaresIntroduction to Computer Softwares
Introduction to Computer Softwares
 
Computer Software and Operating System
Computer Software and Operating SystemComputer Software and Operating System
Computer Software and Operating System
 
Lab 2 software
Lab 2   softwareLab 2   software
Lab 2 software
 
The Computer
The ComputerThe Computer
The Computer
 
Mca i-fundamental of computer-u-2- application and system software
Mca  i-fundamental of  computer-u-2- application and system softwareMca  i-fundamental of  computer-u-2- application and system software
Mca i-fundamental of computer-u-2- application and system software
 
Unit 2 Foc
Unit 2 FocUnit 2 Foc
Unit 2 Foc
 
computer software
computer softwarecomputer software
computer software
 
Grade 7 computer software
Grade 7  computer softwareGrade 7  computer software
Grade 7 computer software
 
Chapter 3 Application Software
Chapter 3  Application  SoftwareChapter 3  Application  Software
Chapter 3 Application Software
 
04 software system and application software
04 software   system and application software04 software   system and application software
04 software system and application software
 
Computer Software
Computer SoftwareComputer Software
Computer Software
 
Software (application and utilities)
Software (application and utilities)Software (application and utilities)
Software (application and utilities)
 
Computer organization
Computer organizationComputer organization
Computer organization
 
SYSTEM SOFTWARE
SYSTEM SOFTWARESYSTEM SOFTWARE
SYSTEM SOFTWARE
 

Similar a Vskills c++ developer sample material

Computer software form 4
Computer software form 4Computer software form 4
Computer software form 4norhaslinamj
 
Software engineering
Software engineeringSoftware engineering
Software engineeringPihu Goel
 
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)SURBHI SAROHA
 
Last module pc_software
Last module pc_softwareLast module pc_software
Last module pc_softwareAnirban Mandal
 
Operating System - I.pptx
Operating System - I.pptxOperating System - I.pptx
Operating System - I.pptxRahul779791
 
Presentation it
Presentation itPresentation it
Presentation itnabelas
 
computer software in Computer Fundamentals
computer software in Computer Fundamentalscomputer software in Computer Fundamentals
computer software in Computer FundamentalsARDEN16
 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppmeharikiros2
 
Computer software 2
Computer software 2Computer software 2
Computer software 2Suresh Kumar
 
Computer Notes
Computer NotesComputer Notes
Computer NotesEHSAN KHAN
 
System Software and Programming.pptx
System Software and Programming.pptxSystem Software and Programming.pptx
System Software and Programming.pptxVanshikaPatel41
 
B.sc i agri u 2 computer software
B.sc i agri u 2 computer softwareB.sc i agri u 2 computer software
B.sc i agri u 2 computer softwareRai University
 
B.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer softwareB.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer softwareRai University
 
B.sc i bio chem u 2 computer software
B.sc i bio chem u 2 computer softwareB.sc i bio chem u 2 computer software
B.sc i bio chem u 2 computer softwareRai University
 

Similar a Vskills c++ developer sample material (20)

SOFTWARE PARADIGM
SOFTWARE PARADIGMSOFTWARE PARADIGM
SOFTWARE PARADIGM
 
unit 3.pptx
unit 3.pptxunit 3.pptx
unit 3.pptx
 
Computer software form 4
Computer software form 4Computer software form 4
Computer software form 4
 
unit 3.ppt
unit 3.pptunit 3.ppt
unit 3.ppt
 
Application software
Application softwareApplication software
Application software
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
 
Last module pc_software
Last module pc_softwareLast module pc_software
Last module pc_software
 
Operating System - I.pptx
Operating System - I.pptxOperating System - I.pptx
Operating System - I.pptx
 
Presentation it
Presentation itPresentation it
Presentation it
 
computer software in Computer Fundamentals
computer software in Computer Fundamentalscomputer software in Computer Fundamentals
computer software in Computer Fundamentals
 
Unit2_1.pdf
Unit2_1.pdfUnit2_1.pdf
Unit2_1.pdf
 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cpp
 
Computer software 2
Computer software 2Computer software 2
Computer software 2
 
Computer software
Computer softwareComputer software
Computer software
 
Computer Notes
Computer NotesComputer Notes
Computer Notes
 
System Software and Programming.pptx
System Software and Programming.pptxSystem Software and Programming.pptx
System Software and Programming.pptx
 
B.sc i agri u 2 computer software
B.sc i agri u 2 computer softwareB.sc i agri u 2 computer software
B.sc i agri u 2 computer software
 
B.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer softwareB.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer software
 
B.sc i bio chem u 2 computer software
B.sc i bio chem u 2 computer softwareB.sc i bio chem u 2 computer software
B.sc i bio chem u 2 computer software
 

Más de Vskills

Vskills certified administrative support professional sample material
Vskills certified administrative support professional sample materialVskills certified administrative support professional sample material
Vskills certified administrative support professional sample materialVskills
 
vskills customer service professional sample material
vskills customer service professional sample materialvskills customer service professional sample material
vskills customer service professional sample materialVskills
 
Vskills certified operations manager sample material
Vskills certified operations manager sample materialVskills certified operations manager sample material
Vskills certified operations manager sample materialVskills
 
Vskills certified six sigma yellow belt sample material
Vskills certified six sigma yellow belt sample materialVskills certified six sigma yellow belt sample material
Vskills certified six sigma yellow belt sample materialVskills
 
Vskills production and operations management sample material
Vskills production and operations management sample materialVskills production and operations management sample material
Vskills production and operations management sample materialVskills
 
vskills leadership skills professional sample material
vskills leadership skills professional sample materialvskills leadership skills professional sample material
vskills leadership skills professional sample materialVskills
 
vskills facility management expert sample material
vskills facility management expert sample materialvskills facility management expert sample material
vskills facility management expert sample materialVskills
 
Vskills international trade and forex professional sample material
Vskills international trade and forex professional sample materialVskills international trade and forex professional sample material
Vskills international trade and forex professional sample materialVskills
 
Vskills production planning and control professional sample material
Vskills production planning and control professional sample materialVskills production planning and control professional sample material
Vskills production planning and control professional sample materialVskills
 
Vskills purchasing and material management professional sample material
Vskills purchasing and material management professional sample materialVskills purchasing and material management professional sample material
Vskills purchasing and material management professional sample materialVskills
 
Vskills manufacturing technology management professional sample material
Vskills manufacturing technology management professional sample materialVskills manufacturing technology management professional sample material
Vskills manufacturing technology management professional sample materialVskills
 
certificate in agile project management sample material
certificate in agile project management sample materialcertificate in agile project management sample material
certificate in agile project management sample materialVskills
 
Vskills angular js sample material
Vskills angular js sample materialVskills angular js sample material
Vskills angular js sample materialVskills
 
Vskills financial modelling professional sample material
Vskills financial modelling professional sample materialVskills financial modelling professional sample material
Vskills financial modelling professional sample materialVskills
 
Vskills basel iii professional sample material
Vskills basel iii professional sample materialVskills basel iii professional sample material
Vskills basel iii professional sample materialVskills
 
Vskills telecom management professional sample material
Vskills telecom management professional sample materialVskills telecom management professional sample material
Vskills telecom management professional sample materialVskills
 
Vskills retail management professional sample material
Vskills retail management professional sample materialVskills retail management professional sample material
Vskills retail management professional sample materialVskills
 
Vskills contract law analyst sample material
Vskills contract law analyst sample materialVskills contract law analyst sample material
Vskills contract law analyst sample materialVskills
 
Vskills project finance sample material
Vskills project finance sample materialVskills project finance sample material
Vskills project finance sample materialVskills
 
Vskills raspberry pi professional sample material
Vskills raspberry pi professional sample materialVskills raspberry pi professional sample material
Vskills raspberry pi professional sample materialVskills
 

Más de Vskills (20)

Vskills certified administrative support professional sample material
Vskills certified administrative support professional sample materialVskills certified administrative support professional sample material
Vskills certified administrative support professional sample material
 
vskills customer service professional sample material
vskills customer service professional sample materialvskills customer service professional sample material
vskills customer service professional sample material
 
Vskills certified operations manager sample material
Vskills certified operations manager sample materialVskills certified operations manager sample material
Vskills certified operations manager sample material
 
Vskills certified six sigma yellow belt sample material
Vskills certified six sigma yellow belt sample materialVskills certified six sigma yellow belt sample material
Vskills certified six sigma yellow belt sample material
 
Vskills production and operations management sample material
Vskills production and operations management sample materialVskills production and operations management sample material
Vskills production and operations management sample material
 
vskills leadership skills professional sample material
vskills leadership skills professional sample materialvskills leadership skills professional sample material
vskills leadership skills professional sample material
 
vskills facility management expert sample material
vskills facility management expert sample materialvskills facility management expert sample material
vskills facility management expert sample material
 
Vskills international trade and forex professional sample material
Vskills international trade and forex professional sample materialVskills international trade and forex professional sample material
Vskills international trade and forex professional sample material
 
Vskills production planning and control professional sample material
Vskills production planning and control professional sample materialVskills production planning and control professional sample material
Vskills production planning and control professional sample material
 
Vskills purchasing and material management professional sample material
Vskills purchasing and material management professional sample materialVskills purchasing and material management professional sample material
Vskills purchasing and material management professional sample material
 
Vskills manufacturing technology management professional sample material
Vskills manufacturing technology management professional sample materialVskills manufacturing technology management professional sample material
Vskills manufacturing technology management professional sample material
 
certificate in agile project management sample material
certificate in agile project management sample materialcertificate in agile project management sample material
certificate in agile project management sample material
 
Vskills angular js sample material
Vskills angular js sample materialVskills angular js sample material
Vskills angular js sample material
 
Vskills financial modelling professional sample material
Vskills financial modelling professional sample materialVskills financial modelling professional sample material
Vskills financial modelling professional sample material
 
Vskills basel iii professional sample material
Vskills basel iii professional sample materialVskills basel iii professional sample material
Vskills basel iii professional sample material
 
Vskills telecom management professional sample material
Vskills telecom management professional sample materialVskills telecom management professional sample material
Vskills telecom management professional sample material
 
Vskills retail management professional sample material
Vskills retail management professional sample materialVskills retail management professional sample material
Vskills retail management professional sample material
 
Vskills contract law analyst sample material
Vskills contract law analyst sample materialVskills contract law analyst sample material
Vskills contract law analyst sample material
 
Vskills project finance sample material
Vskills project finance sample materialVskills project finance sample material
Vskills project finance sample material
 
Vskills raspberry pi professional sample material
Vskills raspberry pi professional sample materialVskills raspberry pi professional sample material
Vskills raspberry pi professional sample material
 

Último

Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 

Último (20)

Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 

Vskills c++ developer sample material

  • 2. Certified C++ Developer www.vskills.in Page 2 1. OBJECT-ORIENTED PROGRAMMING BASICS 1.1. Computer and Software Basics All computer systems perform the following 5 basic operations Input The process of entering the data and instruction into computer system. It involves three steps - accepting the list of instruction from user in their format. Then converting these instructions in computer acceptable form. Supplying the instructions to computer system for processing. Process It is the actual processing in the CPU that takes place on the data, as per the given instructions. Output The process of output of the data from the computer system. It accepts the results produced by computer, which are in coded form. It converts the coded form to human acceptable form. It supplies the converted results to user. Block Diagram of a Computer Software As, we earlier noted that software is instructions, programs for the computer, but there are various types of software. Software can be classified as System Software Software which control the operation of a computer system. They directly interface with the hardware of the computer system. They provide a platform over which application software runs. It controls the execution of application programs. For example Operating System like MS-DOS, MS-WINDOWS XP/ 2003, LINUX Operating System Software - It is a type of system software. It is a master program which runs in the computer and controls the hardware and running of the application software. It is the software,
  • 3. Certified C++ Developer www.vskills.in Page 3 which is loaded into the memory first, when a computer is started. The operating system manages the data in the computer system, various jobs or task assigned to it and is responsible for the security and proper functioning of the computer. Every general-purpose computer must have an operating system to run other programs. Operating systems perform basic tasks, such as recognizing input from the keyboard, sending output to the display screen, keeping track of files and directories on the disk, and controlling peripheral devices such as disk drives and printers. LINUX, Windows XP/2003, MS-DOS are common examples of operating system. The major functions of an Operating System are Resource management - The resource management function of an OS allocates computer resources such as CPU time, main memory, secondary storage, and input and output devices for use. Data management - The data management functions of an OS govern the input and output of the data and their location, storage, and retrieval. Task management - The Task management function of an OS prepares, schedules, controls, and monitors jobs submitted for execution to ensure the most efficient processing. A job is a collection of one or more related programs and their data. Command Interpretation - The OS establishes a standard means of communication between users and their computer systems. It does this by providing a user interface (Graphical based as in Windows or Character based as in DOS) and a standard set of commands that control the hardware. Some of the typical uses of an Operating System are 1. Executing application programs. 2. Formatting floppy or hard or flash disk. 3. Setting up directories to organize your files. 4. Displaying a list of files stored on a particular disk. 5. Verifying that there is enough room on a disk to save a file. 6. Protecting and backing up your files by copying them to other disks for safekeeping. Device Drivers - A device driver is a program that controls a particular type of device that is attached to computer. There are device drivers for printers, displays, CD-ROM readers, diskette drives, and so on. When you buy an operating system, many device drivers are built into the product. However, if you later buy a new type of device that the operating system didn't anticipate, you'll have to install the new device driver. A device driver essentially converts the more general input/output instructions of the operating system to messages that the device type can understand. In Windows operating systems, a device driver file usually has a file name suffix of DLL or EXE. A virtual device driver usually has the suffix of VXD. Application Software These types of software fulfill a specific user’s requirement. They run over the system software. Application programmers develop the application software. They carry out operation for a specific application. For example accounting software, word processor software, etc. Some of application packages are Word Processing Software - This software is used to create and to edit documents such as letters, reports, essays etc. The word processing software provides several features for document editing
  • 4. Certified C++ Developer www.vskills.in Page 4 and formatting. In. editing process, text is entered into the document, deleted, copied or moved to another location etc. In formatting process, different formats can be applied on the text to make the document more attractive before to print on the printer. The most popular word processing software programs are Microsoft Word, Word Perfect etc. Spreadsheet Software - Spreadsheet software is used to store and process data in an electronic sheet having columns and rows. The data is entered into the cells of the sheet. The intersection of a row and a column is known as cell. Each cell is a unique address. The numbers and formulas are entered into the cells and the computer can automatically perform the calculation on numerical data in cells. The spreadsheet software is commonly used for business application such as for performing financial calculations and recording transactions. The most popular example of spreadsheet software is Microsoft Excel etc. Database Management Software - Database management software is used to create and manage databases. A database is a collection of related information or records on any subject such as records of the books in a library, information about the students of a college etc. Database Management Software stores and manages records in databases. These records can be accessed very quickly when required. The Microsoft Access, Oracle etc. are most popular examples of Database Management Software. Presentation Graphics Software - The presentation graphic software is used to create slides for making presentations. The presentation graphic software also has pre-drawn clip art images, which can be inserted into slides and can be modified. The PowerPoint is an example of presentation graphic software. Communication Software - The Communication software is used to exchange information electronically. It is most commonly used software to send and receive information on the Internet. It also allows for sending and receiving faxes directly. The computer files can also be transferred from one PC to another through this software. The Internet Explorer is an example of this software. Other Software Utility software - This software is a kind of system software designed to help analyze, configure, optimize and maintain the computer. A single unit of utility software is usually called a utility or tool. They are often rather technical and targeted at people with an advanced level of computer knowledge. Most utilities are highly specialized and designed to perform only a single task or a small range of tasks. However, there are also some utility suites that combine several features in one piece of software. Most major operating systems come with several pre-installed utilities. Disk defragmenter, disk cleanup, backup are common utilities of Windows. Custom Made Software - Custom Made Software is the software, which is made for fulfillment of the user’s requirement. Software programmers develop the software for the customer, as per the customer’s needs. Packaged Software - Off the shelf or packaged software is readymade software, which we purchase like a commodity.
  • 5. Certified C++ Developer www.vskills.in Page 5 Translators A language translator or a language processor is a general term used for any assembler, compiler or other routine that accepts statements in one language and produces equivalent statements in another language. The language processor reads instructions in a language called source program and converts to other language usually in machine language, also called the executable program. Computers understand machine language which we humans do not understand hence, a translator between human and machine language is needed. Three types of translators are Assembler - This is a program used to translate assembly language program to machine code. It was used earlier and is not widely used these days. Compiler - A computer translates program written in high-level language into executable program. Compiler is more complex program than assembler or other system programs and hence they need more memory. The language processor translates the complete source program as a whole in machine code before execution. The C and C++ compilers are best examples of compilers. Interpreter - It also translates high-level language into machine language. But unlike compilers it translates a statement in program and executes the statement immediately before to translate the next statement. When an error occurs in the program the program is halted and an error message is displayed. An interpreter does not generate a permanent saved object code file. Whenever a program is re-executed the translation process is repeated. The OWBASIC is an example of interpreter. 1.2. C++ Evolution As object-oriented analysis, design, and programming began to catch on, Bjarne Stroustrup took the most popular language for commercial software development, C, and extended it to provide the features needed to facilitate object-oriented programming. He created C++, and in less than a decade it has gone from being used by only a handful of developers at AT&T to being the programming language of choice for an estimated one million developers worldwide. It is expected that by the end of the decade, C++ will be the predominant language for commercial software development. While it is true that C++ is a superset of C, and that virtually any legal C program is a legal C++ program, the leap from C to C++ is very significant. C++ benefited from its relationship to C for many years, as C programmers could ease into their use of C++. To really get the full benefit of C++, however, many programmers found they had to unlearn much of what they knew and learn a whole new way of conceptualizing and solving programming problems. The Accredited Standards Committee, operating under the procedures of the American National Standards Institute (ANSI), is working to create an international standard for C++. The draft of this standard has been published, and a link is available at www.libertyassociates.com. The ANSI standard is an attempt to ensure that C++ is portable--that code you write for Microsoft's compiler will compile without errors, using a compiler from any other vendor. Timeline
  • 6. Certified C++ Developer www.vskills.in Page 6 The work that led to C++ started in the fall of 1979 under the name ‘‘C with Classes.’’ Here is a simplified timeline: 1979 Work on ‘‘C with Classes’’ started. The initial feature set included classes and derived classes, public/private access control, constructors and destructors, and function declarations with argument checking. The first library supported non-preemptive concurrent tasks and random number generators. 1984 ‘‘C with Classes’’ was renamed to C++. By then, C++ had acquired virtual functions, function and operator overloading, references, and the I/O stream and complex number libraries. 1985 First commercial release of C++ (October 14). The library included I/O streams, complex numbers, and tasks (nonpreemptive scheduling). 1985 The C++ Programming Language (‘‘TC++PL,’’ October 14) [Stroustrup,1986]. 1989 The Annotated C++ Reference Manual (‘‘the ARM’’). 1991 The C++ Programming Language, Second Edition [Stroustrup,1991], presenting generic programming using templates and error handling based on exceptions (including the ‘‘Resource Acquisition Is Initialization’’ general resource management idiom). 1997 The C++ Programming Language, Third Edition [Stroustrup,1997] introduced ISO C++, including namespaces, dynamic_cast, and many refinements of templates. The standard library added the STL framework of generic containers and algorithms. 1998 ISO C++ standard. 2002 Work on a revised standard, colloquially named C++0x, started. 2003 A ‘‘bug fix’’ revision of the ISO C++ standard was issued. A C++ Technical Report introduced new standard-library components, such as regular expressions, unordered containers (hash tables), and resource management pointers, which later became part of C++0x. 2006 An ISO C++ Technical Report on Performance was issued to answer questions of cost, predictability, and techniques, mostly related to embedded systems programming. 2009 C++0x was feature complete. It provided uniform initialization, move semantics, variadic template arguments, lambda expressions, type aliases, a memory model suitable for concurrency, and much more. The standard library added several components, including threads, locks, and most of the components from the 2003 Technical Report. 2011 ISO C++11 standard was formally approved. 2012 The first complete C++11 implementations emerged. 2012 Work on future ISO C++ standards (referred to as C++14 and C++17) started. 2013 The C++ Programming Language, Fourth Edition introduced C++11. During development, C++11 was known as C++0x. As is not uncommon in large projects, we were overly optimistic about the completion date. 1.3. C++ Program Translation The following three steps are required to create and translate a C++ program: First, a text editor is used to save the C++ program in a text file. In other words, the source code is saved to a source file. In larger projects the programmer will normally use modular programming. This means that the source code will be stored in several source files that are edited and translated separately.
  • 7. Certified C++ Developer www.vskills.in Page 7 The source file is put through a compiler for translation. If everything works as planned, an object file made up of machine code is created. The object file is also referred to as a module. Finally, the linker combines the object file with other modules to form an executable file. These further modules contain functions from standard libraries or parts of the program that have been compiled previously. It is important to use the correct file extension for the source file’s name. Although the file extension depends on the compiler you use, the most commonly found file extensions are .cpp and .cc. Prior to compilation, header files, which are also referred to as include files, can be copied to the source file. Header files are text files containing information needed by various source files, for example, type definitions or declarations of variables and functions. Header files can have the file extension .h , but they may not have any file extension. The C++ standard library contains predefined and standardized functions that are available for any compiler.
  • 8. Certified C++ Developer www.vskills.in Page 8 Modern compilers normally offer an integrated software development environment, which combines the steps mentioned previously into a single task. A graphical user interface is available for editing, compiling, linking, and running the application. Moreover, additional tools, such as a debugger, can be launched.