Dale - Computer Science Illuminated 294

Dale - Computer Science Illuminated 294 - 19 Write the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Exercises 267 10. What are the characteristics of the imperative paradigm? 11. What are the characteristics of the functional paradigm? 12. What are the characteristics of the logic paradigm? 13. How does the view of an object-oriented program differ from the view of an imperative program? 14. How do you ask questions in a programming language? 15. What is a Boolean variable? 16. What is a Boolean expression? 17. Given Boolean variables one , two , and three , write an assertion for each of the following questions. a. Is one greater than both two and three ? b. Is one greater than two , but less than three ? c. Are all three variables greater than zero? d. Is one less than two or one less than three ? e. Is two greater than one and three less than two ? 18. Write the operation table for Boolean operation AND.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 19. Write the operation table for Boolean operation OR. 20. Write the operation table for Boolean operation NOT. 21. What is a data type? 22. What is strong typing? 23. Define the following data types. a. integer b. real c. character d. Boolean 24. Is the string data type an atomic data type? Justify your answer. 25. If the same symbol is used for both single characters and strings, how can you distinguish between a single character and a one-character string? 26. What is a declaration? 27. Fill in the following table showing the appropriate syntactic marker or reserved word for the language shown based on your observation of the table on page 237....
View Full Document

This note was uploaded on 01/13/2011 for the course CSE 1550 taught by Professor Marianakant during the Fall '10 term at York University.

Ask a homework question - tutors are online