MockTests.ORG साइन इन

Computer Science Mock Tests

4 questions available

Computer Science Mock Test 1

Questions: 4

नमूना प्रश्न

TOEFL Reading
The following passage is an excerpt from an article about computer science. Encryption is the process of converting information (plaintext) into a coded format (ciphertext) that can only be read by someone with the proper "key" to decrypt it. Encryption is fundamental to modern digital security, protecting everything from online banking transactions and private emails to stored passwords and government communications. There are two main types of encryption: symmetric and asymmetric. In symmetric encryption, the same key is used for both encryption and decryption. This means that the sender and receiver must share the same secret key beforehand, which presents a practical challenge: how do you securely share the key with someone you have never met, especially over an insecure network like the internet? Symmetric encryption is fast and efficient, making it suitable for encrypting large amounts of data. Common symmetric encryption algorithms include the Advanced Encryption Standard (AES) and the Data Encryption Standard (DES). In asymmetric encryption, also known as public-key encryption, two mathematically related keys are used: a public key, which can be freely shared with anyone, and a private key, which is kept secret by its owner. Data encrypted with the public key can only be decrypted with the corresponding private key, and vice versa. This solves the key distribution problem: anyone can send you an encrypted message using your public key, but only you can read it with your private key. Asymmetric encryption is slower than symmetric encryption, so in practice, many secure communication systems (such as SSL/TLS, which secures web browsing) use a combination of both: asymmetric encryption is used to securely exchange a symmetric key, and then symmetric encryption is used to encrypt the actual data transfer. The security of encryption systems depends critically on the length and randomness of the keys. A 128-bit key has 2¹²⁸ possible combinations; a 256-bit key has 2²⁵⁶ combinations—so many that even the most powerful supercomputers would require billions of years to crack them by brute force. According to the passage, what is the main advantage of asymmetric encryption over symmetric encryption?
A It is faster and more efficient for encrypting large amounts of data
B It solves the key distribution problem by using separate public and private keys
C It requires shorter keys to achieve the same level of security
D It does not require any keys for the decryption process
TOEFL Reading
The following passage is an excerpt from an article about computer science. Encryption is the process of converting information (plaintext) into a coded format (ciphertext) that can only be read by someone with the proper "key" to decrypt it. Encryption is fundamental to modern digital security, protecting everything from online banking transactions and private emails to stored passwords and government communications. There are two main types of encryption: symmetric and asymmetric. In symmetric encryption, the same key is used for both encryption and decryption. This means that the sender and receiver must share the same secret key beforehand, which presents a practical challenge: how do you securely share the key with someone you have never met, especially over an insecure network like the internet? Symmetric encryption is fast and efficient, making it suitable for encrypting large amounts of data. Common symmetric encryption algorithms include the Advanced Encryption Standard (AES) and the Data Encryption Standard (DES). In asymmetric encryption, also known as public-key encryption, two mathematically related keys are used: a public key, which can be freely shared with anyone, and a private key, which is kept secret by its owner. Data encrypted with the public key can only be decrypted with the corresponding private key, and vice versa. This solves the key distribution problem: anyone can send you an encrypted message using your public key, but only you can read it with your private key. Asymmetric encryption is slower than symmetric encryption, so in practice, many secure communication systems (such as SSL/TLS, which secures web browsing) use a combination of both: asymmetric encryption is used to securely exchange a symmetric key, and then symmetric encryption is used to encrypt the actual data transfer. The security of encryption systems depends critically on the length and randomness of the keys. A 128-bit key has 2¹²⁸ possible combinations; a 256-bit key has 2²⁵⁶ combinations—so many that even the most powerful supercomputers would require billions of years to crack them by brute force. According to the passage, what is the main advantage of asymmetric encryption over symmetric encryption?
A It is faster and more efficient for encrypting large amounts of data
B It solves the key distribution problem by using separate public and private keys
C It requires shorter keys to achieve the same level of security
D It does not require any keys for the decryption process
TOEFL Reading
The following passage is an excerpt from a textbook on computer science. Computer networks are collections of interconnected computing devices that can communicate and share resources. Networks are classified by their geographic scope into several categories: Personal Area Network (PAN), which covers a very small area such as a single person's workspace (typically within a few meters); Local Area Network (LAN), which covers a small geographic area such as a home, office, or building; Metropolitan Area Network (MAN), which covers a city or campus; and Wide Area Network (WAN), which spans a large geographic area, such as a country or continent. The Internet is the largest WAN, connecting billions of devices worldwide. Networks are also classified by their topology, which describes the physical or logical layout of the network. Common topologies include bus (all devices connected to a single central cable), star (all devices connected to a central hub or switch), ring (devices connected in a circular loop), mesh (each device connected to multiple others, providing redundancy), and hybrid (a combination of topologies). The most widely used network model is the OSI (Open Systems Interconnection) model, which defines seven layers of networking protocols: Physical, Data Link, Network, Transport, Session, Presentation, and Application. Each layer serves a specific function and communicates with the layers directly above and below it. The TCP/IP model, the basis of the Internet, is a simplified four-layer model: Network Access, Internet, Transport, and Application. According to the passage, what does a star topology describe?
A All devices connected to a single central cable
B All devices connected to a central hub or switch
C Devices connected in a circular loop
D Each device connected to multiple others
TOEFL Reading
The following passage is an excerpt from a textbook on computer science. Artificial intelligence (AI) refers to the simulation of human intelligence in machines that are programmed to think and learn. AI encompasses a wide range of technologies and techniques, including machine learning, natural language processing, robotics, and computer vision. Machine learning, a subset of AI, enables systems to improve their performance on a task through experience without being explicitly programmed. There are three main types of machine learning: supervised learning, in which the algorithm is trained on labeled data (input-output pairs) and learns to predict outputs for new inputs; unsupervised learning, in which the algorithm is given unlabeled data and must find patterns or structures on its own, such as clustering similar data points; and reinforcement learning, in which an agent learns to make decisions by interacting with an environment and receiving feedback in the form of rewards or penalties. Deep learning, a subfield of machine learning, uses artificial neural networks with multiple layers (hence "deep") to model complex patterns in data. Deep learning has achieved remarkable success in areas such as image recognition, speech recognition, natural language understanding, and game playing. However, AI systems also face significant challenges, including bias in training data, lack of transparency (the "black box" problem), and ethical concerns about privacy, surveillance, and the potential for job displacement. According to the passage, what distinguishes reinforcement learning from supervised and unsupervised learning?
A It uses labeled data for training
B It finds patterns without any data
C It learns through interaction and reward/penalty feedback
D It uses deep neural networks exclusively

टिप्पणियाँ

0/2000

अभी तक कोई टिप्पणी नहीं। अपने विचार साझा करने वाले पहले व्यक्ति बनें!