An integer takes a storage size of (a) 2 bytes (b) 1 byte -Technology

1 Answer

Answer :

(a) An integer takes a storage size of 2 bytes.

Related questions

Description : If an integer occupies 4 bytes and a character occupies 1 byte of memory, each element of the following structure would occupy how many bytes ? struct name { int age; char name[30]; }; A) 30 B) 32 C) 34 D) 36

Last Answer : C) 34

Description : In IPv4, if the fragment offset hasa value of 100, it means that _______. A) thedatagram has notbeen fragmented B) thedatagram is 100 bytes in size C) thefirst byte of the datagram is byte100 D) the first byteof the datagram is byte800

Last Answer : the first byteof the datagram is byte800

Description : In a packet switching network, if the message size is 48 bytes and each packet contains a header of 3 bytes. If 24 packets are required to transmit the message, the packet size is ................ (1) 2 bytes (2) 1 byte (3) 4 bytes (4) 5 bytes

Last Answer : (4) 5 bytes 

Description : In Frame Relay, the EA field defines thenumber of bytes; it is _____ in the last byte of the address. A) 0 B) 1 C) 2 D) 3

Last Answer : 1

Description : Four channels are multiplexed using TDM. If each channel sends 100 bytes/second and we multiplex 1 byte per channel, then the bit rate for the link is __________. a. 400 bps b. 800 bps c. 1600 bps d. 3200 bps

Last Answer : d. 3200 bps

Description : Four channels are multiplexed using TDM. If each channel sends 100 bytes/second and we multiplex 1 byte per channel, then the bit rate for the link is ............... (A) 400 bps (B) 800 bps (C) 1600 bps (D) 3200 bps

Last Answer : (D) 3200 bps Answer: D Explanation: The multiplexer is shown in the Figure. Each frame carries 1 byte from each channel; the size of each frame, therefore, is 4 bytes, or 32 bits. Because each ... channel, the frame rate must be 100 frames per second. The bit rate is 100 32 = 3200 bps. 

Description : The order of a leaf node in a B+ tree is the maximum number of children it can have. Suppose that block size is 1 kilobytes, the child pointer takes 7 bytes long and search field value takes 14 bytes long. The order of the leaf node is ............ (1) 16 (2) 63 (3) 64 (4) 65

Last Answer : Answer: All

Description : Write the memory capacity (storage size) of short and float data type in bytes

Last Answer : Ans. short data type is of 2 bytes and float is of 4 bytes

Description : Single and double are the types of (a) Integer data type (b) Decimal numbers -Technology

Last Answer : (d) Date/Time will be the data type because it allows storing date and time format.

Description : It is not important to specify an integer value as the width of the border of an image. -Technology

Last Answer : False Width takes an integer values that are in pixels.

Description : Rewrite the following code using switch case: int day=Integer.parseInt(jTextField1.getText()); -Technology

Last Answer : int day=Integer.parseInt(jTextField1.getText());switch(day){case 1:case 2:case 3:case 4:case 5:jOptionPane1.showMessageDialog(this, 'Working Day'); break;case 6:case 7:jOptionPane1.showMessageDialog(this, 'Off Day'); break;default:jOptionPane1.showMessageDialog(this, 'Invalid Entry');}

Description : Gigabyte is actually 210 bytes. -Technology

Last Answer : TrueBecause it is actual210 bytes or 1 GB =1024 bytes.

Description : What is the unit used to measure the data wf is transmitted through modem? (a) Bytes per second (b) Band -Technology

Last Answer : (c) Bits per second is the unit used to measure the data through modem.

Description : In the international standard ASCII encoding, each character needs 7 bits of storage; however, in an ASCII string one byte (8 bits) is usually used for each character. Explain why this is done?

Last Answer : Welcome to ask-public. I don’t want to do your homework for you, but I will get you started. The extra bit is called a parity bit. If you don’t know what that means, you can do some Web searching to learn more. If you are still stuck, I can explain further.

Description : A name or number used to identify a storage location is called A) A byte B) A record C) An address D) All of above

Last Answer : Answer : C

Description : A name or number used to identify storage location devices? A) A byte B) A record C) An address D) All of above

Last Answer : Answer : C

Description : Which of the following is the smallest measure of storage? A. KB B. MB C. TB D. Byte

Last Answer : D. Byte

Description : A name or number used to identify a storage location devices? a. A byte b. A record c. An address d. All of above

Last Answer : An address

Description : A name or number used to identify a storage location is called a. A byte b. A record c. An address d. All of above

Last Answer : c. An address

Description : A name or number used to identify a storage location devices? a. A byte b. A record c. An address d. All of above

Last Answer : c. An address

Description : A name or number used to identify a storage location is called a. A byte b. A record c. An address d. All of above

Last Answer : c. An address

Description : Which of the following are the best units of data on an external storage device? A) Bits B) Bytes C) Hertz D) Clock cycles

Last Answer : Answer : B

Description : Which of the following are the best units of data on an external storage device? 1) Bits 2) Bytes 3) Hertz 4) Clock cycles

Last Answer : 2) Bytes

Description : Which of the following are the best units of data on an external storage device? 1 Bits 2 Bytes 3 Hertz 4 Clock cycles

Last Answer : 2 Bytes

Description : An ICMP message has _____ headerand a variable-size data section. A) a 16-byte B) a 32-byte C) an 8-byte D) noneof the above

Last Answer : an 8-byte

Description : Station A uses 32 byte packets to transmit messages to Station B using a sliding window protocol. The round trip delay between A and B is 80 milliseconds and the bottleneck bandwidth on the path between A and B ... What is the optimal window size that A should use? a. 20 b. 40 c. 160 d. 320

Last Answer : b. 40

Description : Arrange the following primitive data types in an ascending order of their size: (i) char (ii) byte (iii) double (iv) int

Last Answer : Ans. The sizes of the given data types are as follows char = 2 bytes byte = 1 byte double = 8 bytes int = 4 bytes Arranging them in ascending order gives byte < char < int < double

Description : A UNIX file system has 1 KB block size and 4-byte disk addresses. What is the maximum file size if the inode contains ten direct block entries, one single indirect block entry, one double indirect block entry and one triple indirect block entry? (A) 30 GB (B) 64 GB (C) 16 GB (D) 1 GB

Last Answer : (C) 16 GB

Description : A unix file system has 1-KB blocks and 4-byte disk addresses. What is the maximum file size if i-nodes contain 10 direct entries and one single, double and triple indirect entry each? (A) 32 GB (B) 64 GB (C) 16 GB (D) 1 GB

Last Answer : (C) 16 GB

Description : Station A uses 32 byte packets to transmit messages to station B using sliding window protocol. The round trip delay between A and B is 40 milli seconds and the bottleneck bandwidth on the path between A and B is 64 kbps. The optimal window size of A is (1) 20 (2) 10 (3) 30 (4) 40

Last Answer : (2) 10

Description : Differentiate between character array and integer array with respect to size and initialisation.

Last Answer : Parameter Character Array Integer Array   Size Last location in character array is filled with '\0' so the array size should be so declared that it should have one last location for '\0' character.   ... ="abc"; Initialization can be done like : int arr[4]={1,2,3,4}; 

Description : The IPv4header size _______. A) is 20 to 60 bytes long B) is 20 bytes long C) is 60 bytes long D) noneof the above

Last Answer : is 20 to 60 bytes long

Description : The IPv4header size _______. A) is 20 to 60 bytes long B) is always 20bytes long C) is always 60bytes long D) depends on the MTU

Last Answer : is 20 to 60 bytes long

Description : What is the maximum size of data that the application layer can pass on to the TCP layer below? a. Any size b. 216 bytes - size of TCP header c. 216 bytes d. 1500

Last Answer : a. Any size

Description : An IP datagram of size 1000 bytes arrives at a router. The router has to forward this packet on a link whose MTU (maximum transmission unit) is 100 bytes. Assume that the size of the IP header is 20 bytes ... the IP datagram will be divided into for transmission is : a. 10 b. 50 c. 12 d. 13

Last Answer : d. 13

Description : The minimum frame size required for a CSMA/CD based computer network running at 1 Gbps on a 200m cable with a link speed of 2 × 108m/s is a. 125 bytes b. 250 bytes c. 500 bytes d. None of these

Last Answer : b. 250 bytes

Description : A sender uses the Stop-and-Wait ARQ protocol for reliable transmission of frames. Frames are of size 1000 bytes and the transmission rate at the sender is 80 Kbps (1Kbps = 1000 bits/second). Size of ... is lost, the sender throughput is __________ bytes/second. a. 2500 b. 2000 c. 1500 d. 500

Last Answer : a. 2500

Description : Consider a CSMA/CD network that transmits data at a rate of 100 Mbps (108 bits per second) over a 1 km (kilometre) cable with no repeaters. If the minimum frame size required for this network is 1250 bytes, what is the signal speed (km/sec) in the cable? a. 8000 b. 10000 c. 16000 d. 20000

Last Answer : d. 20000

Description : The IPv4 header size _______ A. is 20 to 60 bytes long B. is always 20 bytes long C. is always 60 bytes long D. depends on the MTU

Last Answer : A. is 20 to 60 bytes long

Description : How much space will be required to store the bit map of a 1.3 GB disk with 512 bytes block size ? (A) 332.8 KB (B) 83.6 KB (C) 266.2 KB (D) 256.6 KB

Last Answer : (A) 332.8 KB

Description : For the implementation of a paging scheme, suppose the average process size be x bytes, the page size be y bytes, and each page entry requires z bytes. The optimum page size that minimizes the total overhead due to the page ... fragmentation loss is given by (A) x/2 (B) xz/2 (C) √2xz (D) (√xz)/2

Last Answer : (C) √2xz 

Description : A memory management system has 64 pages with 512 bytes page size. Physical memory consists of 32 page frames. Number of bits required in logical and physical address are respectively: (1) 14 and 15 (2) 14 and 29 (3) 15 and 14 (4) 16 and 32

Last Answer : (3) 15 and 14

Description : The maximum size of the data that the application layer can pass on to the TCP layer below is ......... (1) 216 bytes (2) 216 bytes + TCP header length (3) 216 bytes - TCP header length (4) 215 bytes

Last Answer : Answer: Marks to all

Description : Which software takes control of computer system on startup? (a) Compiler (b) Operating system (c) Application software (d) All of these -Technology

Last Answer : (b) Operating system takes control of computer system on startup.

Description : ……… is a computer program that detects, prevents and takes action to remove malicious software programs. -Technology

Last Answer : Antivirus is a computer program that detects, prevents and takes action to remove malicious software programs.

Description : Under which situation does reservation of a particular library resource takes place? -Technology

Last Answer : Reservation of particular library resources takes place only if the documents are not available for borrowing as they are issued to another member or sent for binding or otherwise unavailable.

Description : Which one of the magnetic storage disk is also known as diskette? Explain it with its advantages and disadvantages. -Technology

Last Answer : Floppy disk drive is also known as diskette or FDD. It is a computer disk drive that enables a user to save data on removable diskettes.This portable storage device is a rewritable media that can ... damaged and not much reliable.2. Quite slow to access and retrieve data.3. Easily affected by heat

Description : Which of the following statement is false? (a) Secondary storage is faster (b) Primary storage is both volatile and non volatile in nature. -Technology

Last Answer : (a) Secondary memory is the slowest and cheapest form of memory. It cannot be processed directly by the CPU and it must be first copied into RAM.

Description : Which of the following storage device can be used for storing large backup data? (a) Floppy disks (b) Hard disk (c) Magnetic tapes (d) None of these -Technology

Last Answer : "B) Hard Disk.

Description : The ……… offers more than five times the storage capacity of traditional DVDs. (a) Compact disc (b) Pen drive (c) Blu_ray disc (d) Ext_DVD -Technology

Last Answer : c) Blu-ray disc can hold almost 5 times more data than a single layer DVD.