Information technology MCQs
Showing 50 questions (Total: 2310)
Domain name to IP address mapping is done by_
Correct Answer:
C: DNS server
Explanation:
Domain name to IP address mapping is done by_ Correct Answer DNS server Mapping a domain name to an IP Address is known as Name - Address Resolution. The Domain Name Server (DNS) Resolver performs this operation by consulting name servers. In order to find a particular DNS the requesting host place it's query to the Local DNS Server with a mapping request.
Distributed Queue Dual Bus is a standard for
Correct Answer:
B: LAN & MAN
Explanation:
Distributed Queue Dual Bus is a standard for Correct Answer LAN & MAN Distributed - Queue Dual - Bus (DQDB) is a distributed multi - access network. provides access to Local Area Networks or Metropolitan Area Networks. supports connectionless data transfer, connection - oriented data transfer, and isochronous communications, such as voice communications.
which of the following will produce an answer that is closest in value to a double , d. while not being greater than d?
Correct Answer:
D: (int)Math.Floor(d);
Explanation:
which of the following will produce an answer that is closest in value to a double , d. while not being greater than d? Correct Answer (int)Math.Floor(d); Description The method floor gives the largest integer that is less than or equal to the argument. Syntax This method has the following variants − double floor(double d) double floor(float f) Parameters Here is the detail of parameters − A double or float primitive data type. Return Value This method returns the largest integer that is less than or equal to the argument. Returned as a double. Example Live Demo public class Test { public static void main(String args) { double d = - 100.675; float f = - 90; System.out.println(Math.floor(d)); System.out.println(Math.floor(f)); System.out.println(Math.ceil(d)); System.out.println(Math.ceil(f)); } } This will produce the following result − Output - 101.0 - 90.0 - 100.0 - 90.0
How many 'I's will be there in the binary representation of the following expression (assume 16 bit nubmber _ 12 + 64 + 128 + 256 + 1024 )
Correct Answer:
C: 6
Explanation:
How many 'I's will be there in the binary representation of the following expression (assume 16 bit nubmber _ 12 + 64 + 128 + 256 + 1024 ) Correct Answer 6 In mathematics and digital electronics, a binary number is a number expressed in the base - 2 numeral system or binary numeral system, which uses only two symbols: typically “0” (zero) and “1” (one). The base - 2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit.
which of the declaration is correct ?
Correct Answer:
A: Int length,
Explanation:
which of the declaration is correct ? Correct Answer Int length, int length = String.valueOf(number).length();
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.
Bit coin uses __ technology.
Correct Answer:
A: P2p
Explanation:
Bit coin uses __ technology. Correct Answer P2p Bitcoin uses public - key cryptography, in which two cryptographic keys, one public and one private, are generated.
A device that connects to a network without the use of cables is said to be __
Correct Answer:
B: wireless
Explanation:
A device that connects to a network without the use of cables is said to be __ Correct Answer wireless The word wireless is dictionary defined as "having no wires". In networking terminology, wireless is the term used to describe any computer network where there is no physical wired connection between sender and receiver, but rather the network is connected by radio waves and/or microwaves to maintain communications.
Programs designed to perform specific tasks is known as _
Correct Answer:
C: utility programs
Explanation:
Programs designed to perform specific tasks is known as _ Correct Answer utility programs Programs designed to perform specific tasks is known as application software. An application software (app or application for short) is computer software designed to perform a group of coordinated functions, tasks, or activities for the benefit of the user.
which operator is used to declare the destructor in C++ ?
Correct Answer:
B: ~
Explanation:
which operator is used to declare the destructor in C++ ? Correct Answer ~ A destructor is a member function that is invoked automatically when the object goes out of scope or is explicitly destroyed by a call to delete. A destructor has the same name as the class, preceded by a tilde (~). For example, the destructor for class String is declared: ~String().
which alternative can replace the throw statement in C++ ?
Correct Answer:
C: return
Explanation:
which alternative can replace the throw statement in C++ ? Correct Answer return Throw and return does the same job as return a value . so it can be replaced .
what type of reference should be used in vector arithmetic in C++ =?
Correct Answer:
C: both dynamic & const
Explanation:
what type of reference should be used in vector arithmetic in C++ =? Correct Answer both dynamic & const As we are using the vector and it will give accurate result if we use const reference .
which of these data types is used by operating system to manage the Recursion in Java?
Correct Answer:
B: Stack
Explanation:
which of these data types is used by operating system to manage the Recursion in Java? Correct Answer Stack In computer science, a Stack is an abstract data type that serves as a collection of elements, with two main principal operations: Push, which adds an element to the collection, and Pop, which removes the most recently added element that was not yet removed.
which of the following is an incorrect statement about packages?
Correct Answer:
D: A package can be renamed without renaming the directory in which the classes are stored.
Explanation:
which of the following is an incorrect statement about packages? Correct Answer A package can be renamed without renaming the directory in which the classes are stored. A package can be renamed only after renaming the directory in which the classes are stored.
A derived class inherits attributes from a __ .
Correct Answer:
A: Super class
Explanation:
A derived class inherits attributes from a __ . Correct Answer Super class A class can inherit attributes and behaviour methods from another class, called the supper class. A class which inherits from a super is class is called a sub class, also called heir class or child class.
Multiple inheritance in Java can be implemented using which of the following ?
Correct Answer:
A: Inter faces
Explanation:
Multiple inheritance in Java can be implemented using which of the following ? Correct Answer Inter faces Multiple inheritances in Java programmimg is achieved os implemented using interfacees. Java doesn't support multiple inheritance using classes. " A class can extend only one class but it can implement multiple interfaces.
which of the following statements is the negation of the statements '4 is odd or -9 is positive'?
Correct Answer:
C: 4 is even and - 9 is negative
which component is used to compile , debug and execute java program?
Correct Answer:
B: JDK
Explanation:
which component is used to compile , debug and execute java program? Correct Answer JDK JDK is a core component of java Environment and provides all the tools, executables and binaries required to compile, debug and execute a java Program .
which of the following options suitable, if A is '10110110'. B is '1110000' and C is '10100000' ?
Correct Answer:
D: C = A and B
If determinant of a matrix A is Zero than :
Correct Answer:
A: A is a Singular matrix
Explanation:
If determinant of a matrix A is Zero than : Correct Answer A is a Singular matrix যদি কোনো বর্গ ম্যাট্রিক্স - এর determinate এর মান শূন্য হয় তাহলে ম্যাট্রিক্সটি অবশ্যই Singular matrix হবে।
The complexity of Binary search algorithm is ___
Correct Answer:
B: O (log n)
Explanation:
The complexity of Binary search algorithm is ___ Correct Answer O (log n) Binary search runs in at worst logarithmic time, making O ( log n) comparison , where n is the number of elements in the array, the O is Big O notation, and log is the logarithm .
Object being passed to a copy constructor __
Correct Answer:
B: Must be passed by value
Explanation:
Object being passed to a copy constructor __ Correct Answer Must be passed by value A copy constructor is called when an object is passed by value. Copy constructor itself is a function. So if we pass an argument by value in a copy constructor, a call to copy constructor would be made to call copy constructor which becomes a non - terminating chain of calls.
A nonstandard HTML extension that causes scrolling text to appear as part of a Web page is :
Correct Answer:
D: marquce
Explanation:
A nonstandard HTML extension that causes scrolling text to appear as part of a Web page is : Correct Answer marquce The < marquee> is a non - standard HTML tag which was used to creat a scrolling text or an image .It was used to make the text /image scroll horizontally accross or vertically down the web page.
why do we need to handle exceptions?
Correct Answer:
C: To avoid syntax errors
Explanation:
why do we need to handle exceptions? Correct Answer To avoid syntax errors The exceptions should be handled to prevent any abnormal termination of a program. The program should keep running even if it gets interrupted in between.
If same message is passed to objects of several different classes and all of those can respond in a different way, what is this feature called?
Correct Answer:
C: Polymorphism
Explanation:
If same message is passed to objects of several different classes and all of those can respond in a different way, what is this feature called? Correct Answer Polymorphism The feature defined in question defines polymorphism features. Here the different objects are capable of responding to the same message in different ways, hence polymorphism.
2019 is Binary :
Correct Answer:
D: 0000011111100011
How to access the overridden method of base class from the derived class?
Correct Answer:
C: using scope resolution operator
Explanation:
How to access the overridden method of base class from the derived class? Correct Answer using scope resolution operator Scope resolution operator :: can be used to access the base class method even if overridden. To access those, first base class name should be written followed by the scope resolution operator and then the method name.
11100010 has a decimal value of __
Correct Answer:
C: 226
Explanation:
11100010 has a decimal value of __ Correct Answer 226 (11100010)2 = 1×27 + 1×26 + 1×25 + 0×24 + 0×23 + 0×22 + 1×21 + 0×20 = 128 + 64 + 32 + 0 + 0 + 0 + 2 + 0 = (226)10
when two variables are logically compared , the logic gate that tests the equivalence is ___
Correct Answer:
B: XOR
Explanation:
when two variables are logically compared , the logic gate that tests the equivalence is ___ Correct Answer XOR This explains why "EQ" is often called "XNOR" in the combinational logic of circuit engineers, since it is the negation of the XOR operation; "NXOR" is a less commonly used alternative. Another rationalization of the admittedly circuitous name "XNOR" is that one begins with the "both false" operator NOR and then adds the eXception "or both true".
Source code is (n)
Correct Answer:
A: Program
Explanation:
Source code is (n) Correct Answer Program In computing, source code is any collection of code, with or without comments, written using a human - readable programming language, usually as plain text. The source code of a program is specially designed to facilitate the work of computer programmers, who specify the actions to be performed by a computer mostly by writing source code. The source code is often transformed by an assembler or compiler into binary machine code that can be executed by the computer. The machine code might then be stored for execution at a later time. Alternatively, source code may be interpreted and thus immediately executed.
Does constructor overloading include different return types for constructors to be overloaded ?
Correct Answer:
D: No, constructors doesn't have any return type
Explanation:
Does constructor overloading include different return types for constructors to be overloaded ? Correct Answer No, constructors doesn't have any return type The constructors doesn't have any return type. When we can't have return type of a constructor, overloading based on the return type is not possible.
Dark data represents __
Correct Answer:
A: Unused data
Explanation:
Dark data represents __ Correct Answer Unused data Dark data is data which is acquired through various computer network operations but not used in any manner to derive insights or for decision making. The ability of an organisation to collect data can exceed the throughput at which it can analyse the data. In some cases the organisation may not even be aware that the data is being collected. IBM estimate that roughly 90 percent of data generated by sensors and analog - to - digital conversions never get used.
which of the following defines the addressing capabilities of the networking
Correct Answer:
B: NAT
Explanation:
which of the following defines the addressing capabilities of the networking Correct Answer NAT NAT = Network address translation TCP = Transmission Control Protocol UDP = User Datagram Protocol
In Ms Word, which one of the following options is used to create different formatting for different sections.?
Correct Answer:
A: Section break
Explanation:
In Ms Word, which one of the following options is used to create different formatting for different sections.? Correct Answer Section break Use section breaks to change the layout or formatting in one section of your document. You can use section breaks to change the layout or formatting of pages in your document.
which of the following is a series of recorded commands to automate a task?
Correct Answer:
C: Macro
Explanation:
which of the following is a series of recorded commands to automate a task? Correct Answer Macro MS Office package এ অটোমেটিক পুনরাবৃত্তিমূলক কাজে কম্পিউটারের ব্যবহৃত কমান্ড হলো Macro. এটি ব্যবহারের চেয়ে অনেক কম লাগে এবং কাজে অনেক দ্রুত হয় । মনে রাখবেন, In Microsoft Word and other programs, a macro is a saved sequence of commands or keyboard strokes that can be stored and then recalled with a single command or keyboard stroke.
Which of the following short cut keys do you use to fine a specific word in a document?
Correct Answer:
C: Ctrl+F
Explanation:
Which of the following short cut keys do you use to fine a specific word in a document? Correct Answer Ctrl+F Ctrl + C - টেক্সট Copy করার জন্য ব্যবহৃত হয়। Ctrl + X - শব্দ Cut করার জন্য ব্যবহৃত হয়। Ctrl + S - সেভ করার জন্য ব্যবহৃত হয়। Ctrl + F - শব্দ খোঁজার জন্য ব্যবহৃত হয়।
Memory management scheme by which a computer stores and retrieves data from secondary storage for use in main memory is __
Correct Answer:
A: paging
Explanation:
Memory management scheme by which a computer stores and retrieves data from secondary storage for use in main memory is __ Correct Answer paging memory paging In computer operating systems, memory paging is a memory management scheme by which a computer stores and retrieves data from secondary storage for use in main memory. In this scheme, the operating system retrieves data from secondary storage in same - size blocks called pages.
which of the following is not a malware?
Correct Answer:
C: Bug
Explanation:
which of the following is not a malware? Correct Answer Bug Human ware is something which is worn by the human beings which is not a malware. where as virus, worm and adware are something related to computers they all are a part of class software called "malware".
A single communication system that transfers and connects the data between major components inside a computer is :
Correct Answer:
C: System Bus
Explanation:
A single communication system that transfers and connects the data between major components inside a computer is : Correct Answer System Bus In computer architecture, a bus (a contraction of the Latin omnibus, and historically also called data highway) is a communication system that transfers data between components inside a computer, or between computers. This expression covers all related hardware components (wire, optical fiber, etc.)
A Primary key must also be __
Correct Answer:
B: Unique
Explanation:
A Primary key must also be __ Correct Answer Unique A primary key is a field in a table which uniquely identifies each row/record in a database table. Primary keys must contain unique values. A primary key column cannot have NULL values. A table can have only one primary key, which may consist of single or multiple fields.
USB stands for __
Correct Answer:
A: Universal Serial Bus
Explanation:
USB stands for __ Correct Answer Universal Serial Bus Universal Serial Bus (USB) is an industry standard that establishes specifications for cables and connectors and protocols for connection, communication and power supply (interfacing) between computers, peripherals and other computers.
which of the following is the smallest size in the list?
Correct Answer:
B: Gigabyte
Explanation:
which of the following is the smallest size in the list? Correct Answer Gigabyte Gigabyte Technology is a Taiwanese manufacturer and distributor of computer hardware. Gigabyte's principal business is motherboards. It shipped 4.8 million motherboards in the first quarter of 2015, which allowed it to become the leading motherboard vendor.
Int C = 10 , system out println (C-) , gives a output of
Correct Answer:
A: 10
Explanation:
Int C = 10 , system out println (C-) , gives a output of Correct Answer 10 এখানে C একটি ভেরিএবল যার ডেটাটাইপ হলো int বা পূর্ণসংখ্যা এবং এর value হলো 10 এখন প্রিন্ট কমান্ডে printf(c - - ) বয়বহৃত হয়েছে এর মানে আমরা output এ 10 ই দেখব।। c - - এর অর্থ প্রথমে c এর মান 10 Print করবে পরে 1 বিয়োগ করবে। আর - - c এর মানে প্রথমে - 1 তারপর C এর value অর্থাৎ যদি - - C থাকত তাহলে 9 print হত।
How many layers are there in the software part of networking framework
Correct Answer:
B: seven
Explanation:
How many layers are there in the software part of networking framework Correct Answer seven 7 Layers OSI Model: The 7 Layers of Network Architecture. The Open Systems Interconnection (OSI) Reference Model is a conceptual framework that describes functions of the networking or telecommunication system independently from the underlying technology infrastructure.
what represents a row in a relational database?
Correct Answer:
B: tuple
Explanation:
what represents a row in a relational database? Correct Answer tuple In the context of a relational database, a row—also called a tuple—represents a single, implicitly structured data item in a table. In simple terms, a database table can be thought of as consisting of rows and columns.
All of the following logical connectives are included in SQL except.
Correct Answer:
C: nor
All of the following are considered gaming engines except
Correct Answer:
A: Hex editor
AR refers to which of the following environment
Correct Answer:
D: Augmented Reality
Explanation:
AR refers to which of the following environment Correct Answer Augmented Reality Augmented reality (AR) is an interactive experience of a real - world environment where the objects that reside in the real world are enhanced by computer - generated perceptual information, sometimes across multiple sensory modalities, including visual, auditory, haptic, somatosensory and olfactory.
The full form of 'Wi-fi' is :
Correct Answer:
B: Wireless Fidelity
Explanation:
The full form of 'Wi-fi' is : Correct Answer Wireless Fidelity IEEE is a separate, but related, organization and their website has stated "WiFi is a short name for Wireless Fidelity". . To connect to a Wi - Fi LAN, a computer must be equipped with a wireless network interface controller.
Which of the following features allow you to combine a form letter with the contents of a database(usually a name and address file), creating a separate copy of the letter for each entry in the database?
Correct Answer:
B: Mail Merge
Explanation:
Which of the following features allow you to combine a form letter with the contents of a database(usually a name and address file), creating a separate copy of the letter for each entry in the database? Correct Answer Mail Merge The mail merge process involves taking information from one document, known as the data source, combining with another document known as the main document. The data source is a document, spreadsheet or database that contains personalized information such as names, addresses, and phone numbers. The Main Document can be a Form Letter, Labels, Email, or Directory.