Information technology MCQs
Showing 50 questions (Total: 2310)
which of the following requires the most time in SDLC?
Correct Answer:
D: Design
Explanation:
which of the following requires the most time in SDLC? Correct Answer Design Coding is generally the most time - consuming phase of the SDLC. Developers need to think about many things, including: Ensuring code meets the different stakeholders' requirements, often by demonstrating functions in action.
Which tool could be used for detecting vulnerability through SQl Injection?
Correct Answer:
C: bit defender
Explanation:
Which tool could be used for detecting vulnerability through SQl Injection? Correct Answer bit defender SQL injection is one of the most common attacks against web applications. This is used against websites which use SQL to query data from the database server. Bitdefender এক ধরনের এন্টিভাইরাস সফটওয়্যার যার মাধ্যমে SQL Injection রোধ করা যেতে পারে।
which of the following Operating System does not Implement multitasking truly?
Correct Answer:
C: MS DOS
A light sensitive device that converts drawing, printed text or other images into digital from is
Correct Answer:
C: Scanner
A Microsoft Windows is a (a)
Correct Answer:
A: Operating system
which of the declaration is correct?
Correct Answer:
A: Int length,
Which of the following is harmful for a computer?
Correct Answer:
D: Virus
Explanation:
Which of the following is harmful for a computer? Correct Answer Virus উপরোক্ত অপশনের মধ্যে চারটি অপশন ই কম্পিউটারের জন্য ক্ষতিকর তবে সবচেয়ে বেশি ক্ষতিকর হল ভাইরাস। পাশাপাশি কম্পিউটারের হার্ডওয়্যার দীর্ঘদিন ব্যবহার উপযোগী রাখার জন্য অতিরিক্ত তাপমাত্রা, পানি এবং ধুলাবালি থেকে কম্পিউটারকে সুরক্ষিত রাখতে হবে।
Ctrl + N is used to
Correct Answer:
C: New Document
A shared lock allows which of the following types of transactions to occur?
Correct Answer:
C: Read
Explanation:
A shared lock allows which of the following types of transactions to occur? Correct Answer Read A shared lock allows which of the following types of transactions to occur - Read.
which of the following memory is non - volatile?
Correct Answer:
A: ROM
To divide a class C network into a maximum of 14 subnets -each capable of having up to 14 hosts , the subnet mask used should be :
Correct Answer:
A: 255.255.255.240
Explanation:
To divide a class C network into a maximum of 14 subnets -each capable of having up to 14 hosts , the subnet mask used should be : Correct Answer 255.255.255.240 A typical network class has 3 standard host ID sizes: Class A (24bits), Class B (16bits) and Class C (8bits). But in practice, these standard sizes are not economical. For instance, a 24bits host ID is capable of supporting a maximum of 2²¹ (2,097,152) host IDs. With few of these IDs in use, the rest becomes wasted resources. With subnetting however, we get to go beyond the standard host ID sizes and determine our own desired sizes. The basic meaning of a subnetwork is as the name suggests; a type of a smaller network gotten from the division of a network. They are created with the use of masking, just that this time around, the Host IDs are tweaked. For instance, the standard network masking for the Class C network, 207.17.5.0 is 255.255.255.0. This will give 2²¹ network IDs and (2⁸ – 2) hosts. 255.255.255.0 as used here is standard, but with subnetting, we could use 255.255.255.244.
The result of a SQL SELECT statement is a __ .
Correct Answer:
D: table
Explanation:
The result of a SQL SELECT statement is a __ . Correct Answer table The SQL SELECT statement returns a result set of records from one or more tables. A SELECT statement retrieves zero or more rows from one or more database tables or database views. ... As SQL is a declarative programming language, SELECT queries specify a result set, but do not specify how to calculate it.
which protocol is used for secured web browsing.
Correct Answer:
D: https
Explanation:
which protocol is used for secured web browsing. Correct Answer https Hyper Text Transfer Protocol Secure (HTTPS) is the secure version of HTTP, the protocol over which data is sent between your browser and the website that you are connected to. The 'S' at the end of HTTPS stands for 'Secure'. It means all communications between your browser and the website are encrypted.
The complexity of Bubble sort algorithm is
Correct Answer:
A: O(n)
Explanation:
The complexity of Bubble sort algorithm is Correct Answer O(n) Bubble sort has a worst - case and average complexity of О(n2), where n is the number of items being sorted. Most practical sorting algorithms have substantially better worst - case or average complexity, often O(n log n). When the list is already sorted (best - case), the complexity of bubble sort is only O(n). Class: Sorting algorithm Data structure: Array
To remove duplicate rows from the results of an SQL SELECT statement , the __ qualifier specified must be included.
Correct Answer:
B: DISTINCT
Explanation:
To remove duplicate rows from the results of an SQL SELECT statement , the __ qualifier specified must be included. Correct Answer DISTINCT The SQL DISTINCT keyword is used in conjunction with the SELECT statement to eliminate all the duplicate records and fetching only unique records. There may be a situation when you have multiple duplicate records in a table. While fetching such records, it makes more sense to fetch only those unique records instead of fetching duplicate records. Syntax The basic syntax of DISTINCT keyword to eliminate the duplicate records is as follows − SELECT DISTINCT column1, column2,.....columnN FROM table_name WHERE [condition]
The operation of processing each element in the list is known as
Correct Answer:
D: Traversal
Explanation:
The operation of processing each element in the list is known as Correct Answer Traversal The operation of processing each element in the list is known as traversal. It refers to the process of visiting (checking and/or updating) each node in a tree data structure, exactly once.
Email is a protocol of the following layer.
Correct Answer:
C: Application layer
Explanation:
Email is a protocol of the following layer. Correct Answer Application layer An application layer is an abstraction layer that specifies the shared communications protocols and interface methods used by hosts in a communications network. The application layer abstraction is used in both of the standard models of computer networking: the Internet Protocol Suite (TCP/IP) and the OSI model.
Which of the following data structures are indexed structures?
Correct Answer:
A: linear arrays
Explanation:
Which of the following data structures are indexed structures? Correct Answer linear arrays A linear array, is a list of finite numbers of elements stored in the memory. In a linear array, we can store only homogeneous data elements. Elements of the array form a sequence or linear list, that can have the same type of data. Each element of the array, is referred by an index set.
A light sensitive device that converts drawing , Printed text or other images into digital form is
Correct Answer:
C: Scanner
___ is a statement that is executed automatically by the system.
Correct Answer:
A: trigger constraint
Explanation:
___ is a statement that is executed automatically by the system. Correct Answer trigger constraint A database trigger is what is executed automatically in response to certain events on a particular table or view in a database. It is mostly used to maintain the integrity of the database.
POP3 is a protocol for
Correct Answer:
C: Email Receiving
Explanation:
POP3 is a protocol for Correct Answer Email Receiving Bangladesh shares border with 5 Indian states.
what does a COMMIT statement do to a CURSOR :
Correct Answer:
D: None of these
Explanation:
what does a COMMIT statement do to a CURSOR : Correct Answer None of these The COMMIT statement releases all row and table locks, and erases any savepoints you marked since the last commit or rollback. Until your changes are committed: You can see the changes when you query the tables you modified, but other users cannot see the changes.
which data structure is used for indexing
Correct Answer:
C: stack
Explanation:
which data structure is used for indexing Correct Answer stack The data structure most commonly used for database indexes are B - trees, a specific kind of self - balancing tree. A picture's worth a thousand words, so here's an example. The main benefit of a B - tree is that it allows logarithmic selections, insertions, and deletions in the worst case scenario.
The term push and pop is related to the
Correct Answer:
C: stacks
Explanation:
The term push and pop is related to the Correct Answer stacks Considered as a linear data structure, or more abstractly a sequential collection, the push and pop operations occur only at one end of the structure, referred to as the top of the stack. This data structure makes it possible to implement a stack as a singly linked list and a pointer to the top element.
Trojan can be introduced through ?
Correct Answer:
C: emails
Explanation:
Trojan can be introduced through ? Correct Answer emails Description: Mostly Trojans are introduced via email attachments. These emails are disguised in a way that they look authentic. Once the user downloads the attached file and runs it, the file starts corrupting the system. A Trojan can also come as a payload with freeware and shareware available on the Internet.
The maximum number of binary trees that can be formed with three unlabeled nodes is :
Correct Answer:
C: 5
Explanation:
The maximum number of binary trees that can be formed with three unlabeled nodes is : Correct Answer 5 @SOLUTION;__✍️ BST(n) = C(2*n , n) / (n + 1) Therefore Unlabeled BT(n) = C(2*n , n) / (n + 1) Therefore the number of unlabeled BT with 3 nodes is given by:— = > C(2*3, 3) /(3 + 1) = > C(6,3)/4 = > 6!/(3!*3!*4) = > 6*5/6 = > 5 So the number of unlabeled Binary Tree with 3 nodes is 5.
which of the following is the destructor for the class Vehicle?
Correct Answer:
B: -Vehicle ()
Explanation:
which of the following is the destructor for the class Vehicle? Correct Answer -Vehicle () The destructor for the class Vehicle is - Vehicle () .
Which sever can you use to dynamically assign IP addresses to the PC s in a LAN?
Correct Answer:
A: DHCP server
Explanation:
Which sever can you use to dynamically assign IP addresses to the PC s in a LAN? Correct Answer DHCP server DHCP is an abbreviation for Dynamic Host Configuration Protocol. It is an application layer protocol used by hosts for obtaining network setup information. The DHCP is controlled by DHCP server that dynamically distributes network configuration parameters such as IP addresses, subnet mask and gateway address.
what is the time complexity of Huffman Coding?
Correct Answer:
B: O (NLogN)
Explanation:
what is the time complexity of Huffman Coding? Correct Answer O (NLogN) The time complexity of the Huffman algorithm is O(nlogn). Using a heap to store the weight of each tree, each iteration requires O(logn) time to determine the cheapest weight and insert the new weight. There are O(n) iterations, one for each item.
which of the following operator functions cannot be global , ie. must be a number function.
Correct Answer:
A: Converstion Operator
Explanation:
which of the following operator functions cannot be global , ie. must be a number function. Correct Answer Converstion Operator New and delete can be global.
An acronym for conference on Data systems languages is
Correct Answer:
B: CODASYL
Explanation:
An acronym for conference on Data systems languages is Correct Answer CODASYL CODASYL is an acronym for "Conference on Data Systems Languages". This was a consortium formed in 1959 to guide the development of a standard programming language that could be used on many computers.
which of the following is not an operator in java?
Correct Answer:
B: size of
Explanation:
which of the following is not an operator in java? Correct Answer size of Java operators are one of the most important fundamental concepts. Operators help programmers to perform a specific operation (Arithmetic, Unary, Assignment, Relational, Logical, Ternary, Bitwise, and Shift operation).
The step by step instructions that solve a problem are called
Correct Answer:
A: An algorithm
Explanation:
The step by step instructions that solve a problem are called Correct Answer An algorithm A step - by - step procedure used to solve a problem is called Algorithm. An algorithm (pronounced AL - go - rith - um) is a procedure or formula for solving a problem, based on conduction a sequence of specified actions. A computer program can be viewed as an elaborate algorithm.
Find the out put of the following Java code line:
Correct Answer:
C: -8
Explanation:
Find the out put of the following Java code line: Correct Answer -8 Floor is a function in java which returns the lower limit. Here - 8 is lower limit to - 7.4 and the higher limit would be - 7. If you represent these numbers on the number line you would have - 7 approaching towards zero and - 8 away from 7.4 and far from zero so the lower limit would be - 8. Hence the answer is - 8.
which function overloads the>> operator?
Correct Answer:
D: None of these
Explanation:
which function overloads the>> operator? Correct Answer None of these Operator Overloading means giving extended meaning beyond their predefined operational meaning. For example operator + is used to add two integers as well as join two strings and merge two lists. It is achievable because ' + ' operator is overloaded by int class and str class.
How many layer internet protocol suite?
Correct Answer:
B: 5
Explanation:
How many layer internet protocol suite? Correct Answer 5 TCP/IP protocol suite is made of five layers: physical, data link, network, transport, and application. The first four layers provide physical standards, network interfaces, internetworking, and transport functions that correspond to the first four layers of the OSI model.
what is the output of the following code? Print 9//2
Correct Answer:
B: 4.0
Explanation:
what is the output of the following code? Print 9//2 Correct Answer 4.0 The ‘//’ operator in Python returns the integer part of the floating number.
which of these is not a core data type?
Correct Answer:
C: Class
Explanation:
which of these is not a core data type? Correct Answer Class Class is a user - defined data type.
which O/S is recommended for real time systems?
Correct Answer:
D: Lynx OS
Explanation:
which O/S is recommended for real time systems? Correct Answer Lynx OS Typical examples of real time operating systems are those custom written for the Galileo and Voyager space probes. Because of extreme power and weight constraints, they needed to be coded extremely efficiently to use as little memory and to accomplish their tasks in as few operations as possible.
what is the value of 'd' after this line of code has been executed ? double d = Math round ( 2.5 + math random () );
Correct Answer:
C: 3
Explanation:
what is the value of 'd' after this line of code has been executed ? double d = Math round ( 2.5 + math random () ); Correct Answer 3 The Math.random() method returns a number greater than or equal to 0 and less than 1 . Since we can then be sure that the sum of that number and 2.5 will be greater than or equal to 2.5 and less than 3.5, we can be sure that Math.round() will round that number to 3. So Option B is the answer.
Which of the following function convert a string to a float in python ?
Correct Answer:
B: float (x)
Explanation:
Which of the following function convert a string to a float in python ? Correct Answer float (x) float(x) − Converts x to a floating - point number.
which one of the following is not an example is not an example redundancy ?
Correct Answer:
A: Data Center
Explanation:
which one of the following is not an example is not an example redundancy ? Correct Answer Data Center A data center, or data centre, is a building, dedicated space within a building, or a group of buildings used to house computer systems and associated components, such as telecommunications and storage systems.
According to Boolean algebra the value of (A + AB) (B + AB ) is
Correct Answer:
A: AB
Explanation:
According to Boolean algebra the value of (A + AB) (B + AB ) is Correct Answer AB The formula A + B + C + D will yield true (1) if at least one of A,B,C,D is 1. The formula A./B.C will be true only if A = 1, B = 0 (so /B = 1) and C = 1. Boolean algebra knows two distributive laws with operations AND and OR.
Compared to CISC. RISC processors (at the same clock ) are
Correct Answer:
B: slower
Explanation:
Compared to CISC. RISC processors (at the same clock ) are Correct Answer slower RISC - based machines execute one instruction per clock cycle. CISC machines can have special instructions as well as instructions that take more than one cycle to execute. ... The CISC architecture can execute one, albeit more complex instruction, that does the same operations, all at once, directly upon memory.
The maximum number of processes that can be in Ready state for a computer system with n CPUs is
Correct Answer:
D: Independent of n
Explanation:
The maximum number of processes that can be in Ready state for a computer system with n CPUs is Correct Answer Independent of n The maximum number of processes that can be in Ready state for a computer system with n CPUs is Independent of n.
which of the following is not a type of web search engine?
Correct Answer:
D: Portal
Explanation:
which of the following is not a type of web search engine? Correct Answer Portal There are 3 commonly known types of search engines that have been identified during various research projects: navigational, informational and transactional. There are three types of Search engines: Crawler - based searches. Human - powered directories. Hybrid searches.
which of the following process scheduling algorithm may lead to starvation ?
Correct Answer:
C: Shortest Job Next
Explanation:
which of the following process scheduling algorithm may lead to starvation ? Correct Answer Shortest Job Next Shortest job next may lead to process starvation for processes which will require a long time to complete if short processes are continually added.
what is the value of variable x after the following statement is executed in JavaScript? Var x2-'3'+'4';
Correct Answer:
C: Undefined
Explanation:
what is the value of variable x after the following statement is executed in JavaScript? Var x2-'3'+'4'; Correct Answer Undefined undefined is a property of the global object. That is, it is a variable in global scope. The initial value of undefined is the primitive value undefined. In modern browsers (JavaScript 1.8.5 / Firefox 4 + ), undefined is a non - configurable, non - writable property, per the ECMAScript 5 specification. (Even when this is not the case, avoid overriding it.) A variable that has not been assigned a value is of type undefined. A method or statement also returns undefined if the variable that is being evaluated does not have an assigned value. A function returns undefined if a value was not returned.
In Java , which operator is used to create an object
Correct Answer:
A: class
Explanation:
In Java , which operator is used to create an object Correct Answer class In Java, you create an object by creating an instance of a class or, in other words, instantiating a class. To create a new object, use Java's new operator. Here's an example using the new operator to create a Rectangle object (Rectangle is a class in the java. awt package).
Where can a JavaScript code be placed in an html page?
Correct Answer:
A: both a and b