SlideShare a Scribd company logo
1 of 2
One of Stroustrop's main goals with the C++ language was to make data safer as a:
a strongly typed language.
a pointer based language.
a procedural language.
a syntactically improved language.
What becomes invalid and terminated when we hit end-of-file or encounter an invalid input, such
as reading a value that is not an integer?
An istream
An input statement
An extern buffer
An open file instruction
a strongly typed language.
a pointer based language.
a procedural language.
a syntactically improved language.
Solution
ANS: An istream
ANS: a syntactically improved language
From "The C++ Programming Language 4th Edition" by Bjarne Stroustrup
• direct mappings of built-in operations and types to hardware to provide efficient memory use
and efficient low-level operations, and
• affordable and flexible abstraction mechanisms to provide user-defined types with the same
notational support, range of uses, and performance as built-in types.

More Related Content

Similar to One of Stroustrop-'s main goals with the C++ language was to make data.docx

2 Person Class [5 marks Complete the provided Person class Add appro.pdf
2 Person Class [5 marks Complete the provided Person class Add appro.pdf2 Person Class [5 marks Complete the provided Person class Add appro.pdf
2 Person Class [5 marks Complete the provided Person class Add appro.pdf
arpitcomputronics
 
01 introduction
01 introduction01 introduction
01 introduction
TRK2012
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming language
Vasavi College of Engg
 

Similar to One of Stroustrop-'s main goals with the C++ language was to make data.docx (20)

CSCorganization of programming languages
CSCorganization of programming languagesCSCorganization of programming languages
CSCorganization of programming languages
 
computerprogramminglanguages-201216152310.pptx
computerprogramminglanguages-201216152310.pptxcomputerprogramminglanguages-201216152310.pptx
computerprogramminglanguages-201216152310.pptx
 
2 Person Class [5 marks Complete the provided Person class Add appro.pdf
2 Person Class [5 marks Complete the provided Person class Add appro.pdf2 Person Class [5 marks Complete the provided Person class Add appro.pdf
2 Person Class [5 marks Complete the provided Person class Add appro.pdf
 
2 Programming Language.pdf
2 Programming Language.pdf2 Programming Language.pdf
2 Programming Language.pdf
 
Computer programming languages
Computer programming languagesComputer programming languages
Computer programming languages
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
 
Sl Diapositivas
Sl DiapositivasSl Diapositivas
Sl Diapositivas
 
Language Identifier for Languages of Pakistan Including Arabic and Persian
Language Identifier for Languages of Pakistan Including Arabic and PersianLanguage Identifier for Languages of Pakistan Including Arabic and Persian
Language Identifier for Languages of Pakistan Including Arabic and Persian
 
01 introduction
01 introduction01 introduction
01 introduction
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming language
 
Generic Programming
Generic ProgrammingGeneric Programming
Generic Programming
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
 
Lexigraf - a multilingual lexicography DTP engine
Lexigraf - a multilingual lexicography DTP engineLexigraf - a multilingual lexicography DTP engine
Lexigraf - a multilingual lexicography DTP engine
 
thrift-20070401
thrift-20070401thrift-20070401
thrift-20070401
 
Introduction to compiler development
Introduction to compiler developmentIntroduction to compiler development
Introduction to compiler development
 
Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx
Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptxCobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx
Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx
 
History Of C Essay
History Of C EssayHistory Of C Essay
History Of C Essay
 

More from lmark1

The condition of a system as descriked by its properties A macroscopic.docx
The condition of a system as descriked by its properties A macroscopic.docxThe condition of a system as descriked by its properties A macroscopic.docx
The condition of a system as descriked by its properties A macroscopic.docx
lmark1
 
The concept of the accounting entity is considered by some to be the m.docx
The concept of the accounting entity is considered by some to be the m.docxThe concept of the accounting entity is considered by some to be the m.docx
The concept of the accounting entity is considered by some to be the m.docx
lmark1
 
The balance sheet is the cornerstone of the financial statements- The.docx
The balance sheet is the cornerstone of the financial statements- The.docxThe balance sheet is the cornerstone of the financial statements- The.docx
The balance sheet is the cornerstone of the financial statements- The.docx
lmark1
 
PAD601 Comment in detail on the events of each date 1880- 1881- 1883-.docx
PAD601 Comment in detail on the events of each date 1880- 1881- 1883-.docxPAD601 Comment in detail on the events of each date 1880- 1881- 1883-.docx
PAD601 Comment in detail on the events of each date 1880- 1881- 1883-.docx
lmark1
 

More from lmark1 (20)

The December 31- 2012- balance sheet for Thomas Company showed total s.docx
The December 31- 2012- balance sheet for Thomas Company showed total s.docxThe December 31- 2012- balance sheet for Thomas Company showed total s.docx
The December 31- 2012- balance sheet for Thomas Company showed total s.docx
 
The cost of building a new high speed railway system is reported to be.docx
The cost of building a new high speed railway system is reported to be.docxThe cost of building a new high speed railway system is reported to be.docx
The cost of building a new high speed railway system is reported to be.docx
 
The condition of a system as descriked by its properties A macroscopic.docx
The condition of a system as descriked by its properties A macroscopic.docxThe condition of a system as descriked by its properties A macroscopic.docx
The condition of a system as descriked by its properties A macroscopic.docx
 
The concept of the accounting entity is considered by some to be the m.docx
The concept of the accounting entity is considered by some to be the m.docxThe concept of the accounting entity is considered by some to be the m.docx
The concept of the accounting entity is considered by some to be the m.docx
 
The computer revolution has altered the ways white-collar criminals co.docx
The computer revolution has altered the ways white-collar criminals co.docxThe computer revolution has altered the ways white-collar criminals co.docx
The computer revolution has altered the ways white-collar criminals co.docx
 
The computation of a safe installment payment for the XYZ partnership.docx
The computation of a safe installment payment for the XYZ partnership.docxThe computation of a safe installment payment for the XYZ partnership.docx
The computation of a safe installment payment for the XYZ partnership.docx
 
The component that connects a devices (a computer) to the communicatio.docx
The component that connects a devices (a computer) to the communicatio.docxThe component that connects a devices (a computer) to the communicatio.docx
The component that connects a devices (a computer) to the communicatio.docx
 
The CEO of US Xpress wants to meet with your team and have you provide.docx
The CEO of US Xpress wants to meet with your team and have you provide.docxThe CEO of US Xpress wants to meet with your team and have you provide.docx
The CEO of US Xpress wants to meet with your team and have you provide.docx
 
The case notes that Nationwide had in mind a simple goal- but faced a.docx
The case notes that Nationwide had in mind a simple goal- but faced a.docxThe case notes that Nationwide had in mind a simple goal- but faced a.docx
The case notes that Nationwide had in mind a simple goal- but faced a.docx
 
The capital budgeting analytical technique that calculates the rate of.docx
The capital budgeting analytical technique that calculates the rate of.docxThe capital budgeting analytical technique that calculates the rate of.docx
The capital budgeting analytical technique that calculates the rate of.docx
 
The balance sheet is the cornerstone of the financial statements- The.docx
The balance sheet is the cornerstone of the financial statements- The.docxThe balance sheet is the cornerstone of the financial statements- The.docx
The balance sheet is the cornerstone of the financial statements- The.docx
 
The capital account balances for Donald & Hanes LLP on January 1- 2011.docx
The capital account balances for Donald & Hanes LLP on January 1- 2011.docxThe capital account balances for Donald & Hanes LLP on January 1- 2011.docx
The capital account balances for Donald & Hanes LLP on January 1- 2011.docx
 
the bookkeeper of vitial inc has asked to assist him with preparation.docx
the bookkeeper of vitial inc has asked to assist him with preparation.docxthe bookkeeper of vitial inc has asked to assist him with preparation.docx
the bookkeeper of vitial inc has asked to assist him with preparation.docx
 
The balanced scorecard integrates financial and nonfinancial measures.docx
The balanced scorecard integrates financial and nonfinancial measures.docxThe balanced scorecard integrates financial and nonfinancial measures.docx
The balanced scorecard integrates financial and nonfinancial measures.docx
 
The balance sheet for the partnership of Nina- Pinta- and Santa Maria.docx
The balance sheet for the partnership of Nina- Pinta- and Santa Maria.docxThe balance sheet for the partnership of Nina- Pinta- and Santa Maria.docx
The balance sheet for the partnership of Nina- Pinta- and Santa Maria.docx
 
Palindromes A palindrome is a word or phrase that reads the same backw (1).docx
Palindromes A palindrome is a word or phrase that reads the same backw (1).docxPalindromes A palindrome is a word or phrase that reads the same backw (1).docx
Palindromes A palindrome is a word or phrase that reads the same backw (1).docx
 
Palindromes A palindrome is a word or phrase that reads the same backw (2).docx
Palindromes A palindrome is a word or phrase that reads the same backw (2).docxPalindromes A palindrome is a word or phrase that reads the same backw (2).docx
Palindromes A palindrome is a word or phrase that reads the same backw (2).docx
 
Palindromes A palindrome is a word or phrase that reads the same backw.docx
Palindromes A palindrome is a word or phrase that reads the same backw.docxPalindromes A palindrome is a word or phrase that reads the same backw.docx
Palindromes A palindrome is a word or phrase that reads the same backw.docx
 
PAD601 Comment in detail on the events of each date 1880- 1881- 1883-.docx
PAD601 Comment in detail on the events of each date 1880- 1881- 1883-.docxPAD601 Comment in detail on the events of each date 1880- 1881- 1883-.docx
PAD601 Comment in detail on the events of each date 1880- 1881- 1883-.docx
 
P5- Use the financial information below to calculate and interpret the.docx
P5- Use the financial information below to calculate and interpret the.docxP5- Use the financial information below to calculate and interpret the.docx
P5- Use the financial information below to calculate and interpret the.docx
 

Recently uploaded

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
EADTU
 

Recently uploaded (20)

24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 

One of Stroustrop-'s main goals with the C++ language was to make data.docx

  • 1. One of Stroustrop's main goals with the C++ language was to make data safer as a: a strongly typed language. a pointer based language. a procedural language. a syntactically improved language. What becomes invalid and terminated when we hit end-of-file or encounter an invalid input, such as reading a value that is not an integer? An istream An input statement An extern buffer An open file instruction a strongly typed language. a pointer based language. a procedural language. a syntactically improved language. Solution ANS: An istream ANS: a syntactically improved language From "The C++ Programming Language 4th Edition" by Bjarne Stroustrup
  • 2. • direct mappings of built-in operations and types to hardware to provide efficient memory use and efficient low-level operations, and • affordable and flexible abstraction mechanisms to provide user-defined types with the same notational support, range of uses, and performance as built-in types.