Wednesday, May 27, 2015

Cloud Computing question bank


Objective types questions:
1. Write full form of GFS ……………………………………………………………………………….

2. Write full for of HDFS …………………………………………………………………………………………………………

3. MapReduce is used for big data analysis. (T/F)

4. MapReduce uses parallel computing paradigm. (T/F)

5. BigTable is introduced by Yahoo Inc. (T/F)

6. HBase is introducted by Google Inc. (T/F)

7. DynamoDb is introduced by Amazon. (T/F)

Analysis and Design of Algorithm question bank



Objective Type Questions:
1. Which one is the correct equation for Fibonacci sequence by Dynamic Programming?
a. F[n]=F[n-1]+F[n-2]                        b. Fn=Fn-1+Fn-2                                       c. F(n)=F(n-1)+F(n-2)                        d. All of these

2. Which equation is correct when a character is matched in Longest Common Subsequence problem?
a. c[i,j]=c[i,j-1]                                     b. c[i,j]=c[i-1,j-1]                                 c. c[i,j]=c[i-1,j]                                     d. None of these

Sunday, May 24, 2015

Cloud computing question bank



Objective Type:
1. What is an advantage of a multi-tenancy cloud environment over a single-tenancy environment?
A. cost savings                  B. easy to customize                      C. faster performance           D. higher data security

2. Which statement best describes the relationship between application, server, and client in a multi-tenancy environment?
A. Single instance of software running on a server and serves one client.
B. Single instance of software running on a server and serves multiple clients.
C. Multiple instances of software running on a server and serves multiple clients.
D. Multiple instances of software running on multiple servers and serves one client.

Analysis and Design of Algorithm Question Bank



Objective Type Questions:
1. The complexity of linear search algorithm is
a. O(n)                                                   b. O(log n)                                            c. O(n2)                                                  d. O(n log n)

2. The complexity of Binary search algorithm is
a. O(n)                                                   b. O(log n )                                           c. O(n2)                                                  d. O(n log n)

Wednesday, May 20, 2015

Solid State Drive versus Hard Disc Drive

SSD Vs HDD
Attribute
SSD
HDD
Stands for
Solid State Drive
Hard Disk Drive
Speed
SSD has lower latency, faster read/writes, and supports more IOPs (input output operations per second) compared to HDD.
HDD has higher latency, longer read/write times, and supports fewer IOPs (input output operations per second) compared to SSD.
Heat, Electricity, Noise
Since no such rotation is needed in solid state drives, they use less power and do not generate heat or noise.
Hard disk drives use more electricity to rotate the platters, generating heat and noise.
Defragmentation
SSD drive performance is not impacted by fragmentation. So defragmentation is not necessary.
The performance of HDD drives worsens due to fragmentation; therefore, they need to be periodically defragmented.
Components
SSD has no moving parts; it is essentially a memory chip. It is interconnected, integrated circuits (ICs) with an interface connector. There are three basic components - controller, cache and capacitor.
HDD contains moving parts - a motor-driven spindle that holds one or more flat circular disks (called platters) coated with a thin layer of magnetic material. Read-and-write heads are positioned on top of the disks; all this is encased in a metal case
Weight
SSD drives are lighter than HDD drives because they do not have the rotating disks, spindle and motor.
HDDs are heavier than SSD drives.
Dealing with vibration
SSD drives can withstand vibration up to 2000Hz, which is much more than HDD.
The moving parts of HDDs make them susceptible to crashes and damage due to vibration.
Power Draw / Battery Life
Less power draw, averages 2 – 3 watts, resulting in 30+ minute battery boost
More power draw, averages 6 – 7 watts and therefore uses more battery
Cost
Expensive, roughly $0.10 per gigabyte (based on buying a 1TB drive)
Only around $0.06 per gigabyte, very cheap (buying a 4TB model)
Capacity
Typically not larger than 1TB for notebook size drives; 1TB max for desktops
Typically around 500GB and 2TB maximum for notebook size drives; 6TB max for desktops
Operating System Boot Time
Around 10-13 seconds average bootup time
Around 30-40 seconds average bootup time
Noise
There are no moving parts and as such no sound
Audible clicks and spinning can be heard
Vibration
No vibration as there are no moving parts
The spinning of the platters can sometimes result in vibration
Heat Produced
Lower power draw and no moving parts so little heat is produced
HDD doesn’t produce much heat, but it will have a measurable amount more heat than an SSD due to moving parts and higher power draw
Failure Rate
Mean time between failure rate of 2.0 million hours
Mean time between failure rate of 1.5 million hours
File Copy / Write Speed
Generally above 200 MB/s and up to 550 MB/s for cutting edge drives
The range can be anywhere from 50 – 120MB / s
Encryption
Full Disk Encryption (FDE) Supported on some models
Full Disk Encryption (FDE) Supported on some models
File Opening Speed
Up to 30% faster than HDD
Slower than SSD
Magnetism Affected?
An SSD is safe from any effects of magnetism
Magnets can erase data

Quantitative aptitude and basic computer aptitude quiz

1)The retail price of rice decreased from Rs. 16 kg to Rs. 12 per kg. Find the percentage decrease.
a. 25%
b. 33.3%
c. 12.5%
d. 20%

2)A train 280 meters long is moving at a speed of 60 km/hr. The time taken by the train to cross a platform 220 meters long is
(a) 30 seconds
(b) 25 seconds
(c) 35 seconds
(d) 20 seconds

Cloud computing question bank series



Objective Type Questions:
1. Which resources are typically provided by an Infrastructure as a Service cloud computing delivery model?
A. applications                  B. virtual machines        C. virtual private networks        D. middleware software stacks
                                                                                
2. Which statement is true about a cloud computing environment?
A. It cannot be used to host location based applications.
B. It enables users to access systems regardless of their location.
C. It introduces latency as the servers are geographically dispersed.
D. It can improve a web server response time by having servers closer to the end user.

Tuesday, May 19, 2015

Analysis and Design of Algorithm Question bank with objective type


Objective Type Questions:
1. The time complexity of an algorithm quantifies the amount of time taken by an algorithm to run according to ____.
a. number of space                                                                                              b. number of inputs
c. number of outputs                                                                                          d. number of characters

2. Which is not a criterion of algorithm design?
a. Finiteness                                                                                                         b. Durability        
c. Definiteness                                                                                                     d. Efficient

Search Aptipedia