Searching for "algorithm"

Q:

Each item consists of six sentences of a passage. The first and sixth sentences are given in the beginning as S1 and S6. The middle four sentences in each have been jumbled up and labelled as P, Q, R and S. You are required to find the proper sequence of the four sentences and markyour response accordingly on the Answer Sheet.


S1 :The dawn of the information age opened up great opportunities for the beneficial use of data.
S6 :To some, in this era of Big Data analytics and automated, algorithm-based processing of zettabytes of information, the fear that their personal data may be unprotected may conjure up visions of a dystopian world in which individual liberties are compromised.
P :But it is the conflict between the massive scope for progress provided by digital era and the fear of loss of individual autonomy that is foregrounded in any debates about data protection laws.
Q : It also enhanced the perils of unregulated and arbitrary use of personal data.
R : It is against this backdrop that the White Paper made public to elicit views from the public on the shape and substance of a comprehensive data protection law assumes significances.
S :Unauthorised leaks, hacking and other cyber crimes have rendered databases vulnerable.


The correct sequence should be

A) S Q R P B) Q P R S
C) S R P Q D) Q S P R
 
Answer & Explanation Answer: D) Q S P R

Explanation:
QSPR is the correct order in which sentences should be arranged.
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

Q:

Which Arab scientist could be given the credit of christening the mathematical discipline of algorithm?

A) Al-Khwarizmi B) Ibn al -Haytham
C) Ibn Rushd D) Ibn Sina
 
Answer & Explanation Answer: A) Al-Khwarizmi

Explanation:

Muḥammad ibn Mūsā al-Khwārizmī, formerly Latinized as Algorithmi,was a Persianscholar who produced works in mathematics, astronomy, and geography under the patronage of the Caliph Al-Ma'mun of the Abbasid Caliphate.

He also developed the concept of the algorithm in mathematics, which is why some have called him the "grandfather of computer science".

His name gave rise to the terms algorism and algorithm.

 

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

Q:

Which algorithm is used to decide the path to transfer the packets from source to destination?

A) Routing B) Pathing
C) Selecting D) Directing
 
Answer & Explanation Answer: A) Routing

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer

Q:

Two main measures for the efficiency of an algorithm are

A) Time and Space B) Complexity and Memory
C) Data and Space D) Memory and Processor
 
Answer & Explanation Answer: A) Time and Space

Explanation:

Two main measures for the efficiency of an algorithm are Time and Space.

Report Error

View Answer Report Error Discuss

Q:

The complexity of linear search algorithm is

A) O(n2) B) O(n log n)
C) O(n) D) O(log n)
 
Answer & Explanation Answer: C) O(n)

Explanation:

The worst case complexity of linear search is O(n).

Report Error

View Answer Report Error Discuss

Filed Under: Arithmetical Reasoning
Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

Q:

Write an algorithm to separate all ones & zeroes in an array.

Answer

1. Have two indexes pointing to two ends of array, say i and j.


2. Approach towards each other with a check condition that they dont cross each other.


3. Each iteration of while loop, swap the numbers pointed by two indexes when num[i] index number is not equal to 1.


 


void sort()


{


     int a[]={1,0,0,0,1,1,0,1,0,1,0,0,1,0};


     int i=0;


     int j=13;


     int temp;


      while(j>i)


     {


          if(a[i]==1)


                 i++;


          if(a[j]==0)


                 j--;


          if(a[i]==0)


         {


                 temp=a[i];


                a[i]=a[j];


                a[j]=temp;


         }


     } 


     for(i=0;i<14;i++)


             Console.Write(a[i]+", ");


}


Output: 1,1,1,1,1,1,0,0,0,0,0,0,0

Report Error

View answer Workspace Report Error Discuss

Q:

Which of the following is an industry-wide standards suite of protocols and algorithms that allows for secure data transmission over an IP-based network that functions at the layer3 Network layer of the OSI model?

A) HDLC B) xDSL
C) VPN D) IPSec
 
Answer & Explanation Answer: D) IPSec

Explanation:

IPSec is an industry-wide standard suite of protocols and algorithms that allows for secure data transmission over an IP-based network that functions at the layer3 Network layer of the OSI model.

Report Error

View Answer Report Error Discuss

Filed Under: CCNA

Q:

In the operation of CSMA/CD, which host(s) have priority after the expiration of the backoff algorithm?

A) All hosts have equal priority B) The two hosts that caused the collision will have equal priority
C) The host that sent the jam signal after the collision D) The host with the highest MAC address
 
Answer & Explanation Answer: A) All hosts have equal priority

Explanation:

After the expiration of the backoff algorithm , all hosts have equal priority.

Report Error

View Answer Report Error Discuss

Filed Under: CCNA