Question
1.In object-oriented languages, every instance of every class, whether predefined or user-defined, is called an _______. a.Value b.Object c.Variable d.Statement 2.Almost all programming languages provide
1.In object-oriented languages, every instance of every class, whether predefined or user-defined, is called an _______.
a.Value
b.Object
c.Variable
d.Statement
2.Almost all programming languages provide a set of ________ data types.
a.Derived
b.User-defined
c.Primitive
d.Record
3.Most languages now use _____ numbers for positive integers, and _________ for negative integers.
a.Decimal, ones complement
b.Hexadecimal, twos complement
c.Binary, twos complement
d.Octal, ones complement
4.The number -45 is represented by _________ and _________ in a computer memory.
a.twos complement, 11010011
b.twos complement, 00101101
c.Ones complement, 00101101
d.Ones complement, 11010011
5.The number -1465.125 is represented using single precision float-point 32-bit binary value _______.
a. 0 10001001 01101110010010000000000
b. 0 10001001 01110110100001000000000
c. 1 10001001 01110110100001000000000
d. 1 10001001 01101110010010000000000
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started