Answer:
See explaination
Explanation:
CREATE TABLE CATEGORY
(
cid int NOT NULL,
description varchar2(1000),
PRIMARY KEY (cid)
);
CREATE TABLE PRODUCT
(
pid int NOT NULL,
description varchar2(1000),
cid int,
price int,
p_size varchar2(1),
CONSTRAINT chk_price CHECK (price>0),
CONSTRAINT chk_size CHECK (p_size in ('S','M','L')),
CONSTRAINT fk_cid FOREIGN KEY (cid) REFERENCES CATEGORY(cid)
);
Sometimes your mean to people (dog peeing on fire hydrant) sometimes people are mean to you (being peed on)
Answer:
a. 6 bits
b. 1
Explanation:
Ans (a)
40 Characters need to be represent by binary coded Zebronian (BCZ) , So You will need 6 bits.
5 bits wold only give you 32 = 2 x 2 x 2 x 2 x 2 unique characters.
So 6 bits would allow you to represent 64 characters.
Ans(b)
BCD = Binrary Coded Decimal is very common in electronics, particularly it displays numerical data.
BCD Encodes each digit of a decimal number into 4 digit binary form.
Each decimal digit is indiviidually converted to oits binary equivalent
For Example : 146 , the decimal degits are replaced by 0001 , 0100 and 0110 respectively
Addition
1 0 = 10 is binary value of 2 2
+1 1 = 11 is binary value of 3 + 3
---------- -----------
1 0 1 5 Ans
Subtraction
1 1= binary value of 3 3
- 1 0 = binary value of 2 - 2
--------- -----------
0 1 1 Ans
Answer:
Print preview allows you to view your document before printing