1. T/F-Disjoint union assuming that variants are chosen from type S or type T = (#S)^ (#T) 2. T/F-Cardinality of mapping S>T is: (#S)x(#T) →(#T)®s 3. T/F- Smalltalk and Lisp are dynamically typed PLs whereas Prolog and Perl are statically typed.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

please write true and false

True/False Questions. Write your asnwers as: Q1-1: correct answer, Q1-2: correct answer, etc.
1. T/F-Disjoint union assuming that variants are chosen from type S or type T = (#S)A (#T)
2. T/F-Cardinality of mapping S>T is: (#S)x(#T) >(#T)#5
3. T/F- Smalltalk and Lisp are dynamically typed PLs whereas Prolog and Perl are statically typed.
4. T/F- If you can print a piece of code, or assign it to a variable, it's an expression. If you can't,
it's a statement!
5. T/F-memcpy() copies specific number of bytes from source to destination in RAM, where as
strcpy() copies a constant / string into another string.
6. T/F-The semantics of a PL describe the sequence of symbols that make up valid programs
7. T/F-Enumeration variables are typically implemented using a subrange of the integers.
8. T/F-Ambiguity is a desirable syntactic attribute.
9. T/F-The execution of programs developed in a compiled language is typically more efficient
than the interpreted ones.
10. T/F- One common approach to storage for a variant record type is to allocate adequate
storage for the larger variant for all records of that type.
Transcribed Image Text:True/False Questions. Write your asnwers as: Q1-1: correct answer, Q1-2: correct answer, etc. 1. T/F-Disjoint union assuming that variants are chosen from type S or type T = (#S)A (#T) 2. T/F-Cardinality of mapping S>T is: (#S)x(#T) >(#T)#5 3. T/F- Smalltalk and Lisp are dynamically typed PLs whereas Prolog and Perl are statically typed. 4. T/F- If you can print a piece of code, or assign it to a variable, it's an expression. If you can't, it's a statement! 5. T/F-memcpy() copies specific number of bytes from source to destination in RAM, where as strcpy() copies a constant / string into another string. 6. T/F-The semantics of a PL describe the sequence of symbols that make up valid programs 7. T/F-Enumeration variables are typically implemented using a subrange of the integers. 8. T/F-Ambiguity is a desirable syntactic attribute. 9. T/F-The execution of programs developed in a compiled language is typically more efficient than the interpreted ones. 10. T/F- One common approach to storage for a variant record type is to allocate adequate storage for the larger variant for all records of that type.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY