For a 16-bit unsigned number Ob1111 1111 1111 0001, adding 15 to it gives: a. 1 0000 0000 00000000 b. 0 1. C. 1 d. 1111 1111 1111 1111 e. 0000 0000 0001 0000 f. None of Above

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
A
Review
View
Help
EndNote X9
Search
Layout
References
Mailings
Draw Design
1. For a 16-bit unsigned number Ob1111 1111 1111 0001, adding 15 to it gives:
1 0000 0000 00000000
b. 0
a.
C. 1
d. 1111 1111 1111 1111
to 000000001 0000
f.
e.
None of Above
2. (((Ob111 000 101 111 >>>2)<<1) >>2) gives
a. 001 111 000 101
b. 000 111 100 010
C. 011 111 100 001
d. 000 111 100 101
e. None of Above
=5, for (int x=L, x<=i, x++). The total iterations of this loop will be
a. 0
b. infinite
3.
C.
d. 5
None of Above
e.
4. Automatic type casting is used to
a. Copy the value of one variable onto another
b. Update datatype of constants by users of constants
C. Update datatype of variable by users
d. Update datatype by compiler
e. None of above
Transcribed Image Text:A Review View Help EndNote X9 Search Layout References Mailings Draw Design 1. For a 16-bit unsigned number Ob1111 1111 1111 0001, adding 15 to it gives: 1 0000 0000 00000000 b. 0 a. C. 1 d. 1111 1111 1111 1111 to 000000001 0000 f. e. None of Above 2. (((Ob111 000 101 111 >>>2)<<1) >>2) gives a. 001 111 000 101 b. 000 111 100 010 C. 011 111 100 001 d. 000 111 100 101 e. None of Above =5, for (int x=L, x<=i, x++). The total iterations of this loop will be a. 0 b. infinite 3. C. d. 5 None of Above e. 4. Automatic type casting is used to a. Copy the value of one variable onto another b. Update datatype of constants by users of constants C. Update datatype of variable by users d. Update datatype by compiler e. None of above
Draw Design Layout
References
Mailings
Review
View
Help
EndNote X9
OSearch
5 int x[50], b) float al] = (5.2, 2, 10}; c) char b[10] = {'a', '5', '10'}; d) int x[] = {'a', '5', '10'}; Which of the above
is/are not allowed:
a. (a) and (b)
b. (c) and (d)
C. (d)
d. (c)
e. None of Above
f. All of Above
6. What is Dev C++
a. Software
b. Compiler
c. Interpreter
d. Both a and b
e Allof above
f.
None of Above
7.
i-5, do (int x%3D0, ++_}while (<5,) The body of loop will execute how may times?
a. 5
b.
4
C.
d. infinite
e. 0
f. None of Above
OX7F07 & 0XF7FF gives
a. 0111 0111 1111 0111
b.
1111 1111 0000 1111
0111 1111 0000 0000
d.
C.
1111 1111 0000 0111
None of above
e.
es States
Transcribed Image Text:Draw Design Layout References Mailings Review View Help EndNote X9 OSearch 5 int x[50], b) float al] = (5.2, 2, 10}; c) char b[10] = {'a', '5', '10'}; d) int x[] = {'a', '5', '10'}; Which of the above is/are not allowed: a. (a) and (b) b. (c) and (d) C. (d) d. (c) e. None of Above f. All of Above 6. What is Dev C++ a. Software b. Compiler c. Interpreter d. Both a and b e Allof above f. None of Above 7. i-5, do (int x%3D0, ++_}while (<5,) The body of loop will execute how may times? a. 5 b. 4 C. d. infinite e. 0 f. None of Above OX7F07 & 0XF7FF gives a. 0111 0111 1111 0111 b. 1111 1111 0000 1111 0111 1111 0000 0000 d. C. 1111 1111 0000 0111 None of above e. es States
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education