What is a scope resolution operator?

1 Answer

Answer :

A scope resolution operator (::), can be used to define the member functions of a class  outside the class.

Related questions

Description : Which of the following operates cannot be overloaded? i) Size of operator (sizeof) ii) Scope resolution Operator iii) Conditional operator (?:) iv) Assignment Operator (=) A) i, ii, iii only B) ii, iii, iv only C) i, iii, iv only D) all i, ii, iii, iv

Last Answer : A) i, ii, iii only

Description : Some of the C++ operators cannot overloaded which are i) Member access operators (. And .*) ii) Conditional operator (? :) iii) Scope resolution operator (: :) iv) Size operator (sizeof) A) only i, ii and iii B) only ii, iii and iv C) only ii and iv D) All i, ii, iii and iv

Last Answer : D) All i, ii, iii and iv

Description : Match the following a) : : i) Pointer to member declarator b) : :* ii) Pointer to member operator c) ->* iii) Scope resolution operator A) a-ii, b-iii, c-i B) a-iii, b-i, c-ii C) a-i b-ii, c-iii D) a-iii, b-ii, c-i

Last Answer : B) a-iii, b-i, c-ii

Description : State use of scope resolution operator.

Last Answer : It is used to uncover a hidden variable. Scope resolution operator allows access to the global version of a variable. The scope resolution operator is used to refer variable of class anywhere in program ... to define function outside of class.  Return_typeclass_name:: function_name( )  {  }  

Description : With example, describe use of scope resolution operator.

Last Answer : In C, the global version of a variable cannot be accessed from within the inner block. C++ resolves this problem by introducing a new operator:: called scope resolution operator. This can be used to uncover a hidden variable. It takes ... cout << ::m = <<::m; } return 0; }

Description : Explain use of scope resolution operator.

Last Answer : It is used to uncover a hidden variable. Scope resolution operator allows access to the global version of a variable. The scope resolution operator is used to refer variable of class anywhere in program. ... outside of class. Return_type class_name:: function_name( ) { Function body }

Description : What is scope resolution operation?

Last Answer : Scope resolution operation includes scope resolution operator. It is used to uncover a hidden variable. Scope resolution operator allows access to the global version of a variable. The scope resolution operator ... outside of class. return_type class_name :: function_name( ) { }

Description : Personnel who design, program, operates and maintains computer equipment refers to A) Console-operator B) Programmer C) Peopleware D) System Analyst

Last Answer : Answer : C

Description : What is the name of the display feature that highlights are of the screen which requires operator attention? A) Pixel B) Reverse video C) Touch screen D) Cursor

Last Answer : Answer : B

Description : The work done by a computer operator is displayed in which part of computer? A. CPU B. VDU C. ALU D. None of the Above

Last Answer : B. VDU

Description : What does the && operator do in a program code?

Last Answer : The && is also referred to as AND operator. When using this operator, all conditions specified must be TRUE before the next action can be performed. If you have 10 conditions and all but 1 fails to evaluate as TRUE, the entire condition statement is already evaluated as FALSE.

Description : What is the modulus operator?

Last Answer : The modulus operator outputs the remainder of a division. It makes use of the percentage (%) symbol. For example: 10 % 3 = 1, meaning when you divide 10 by 3, the remainder is 1.

Description : The basic operation performed by a computer are: a) Arithmatic Operator b) Logical c) Storation d) All of above e) None of These

Last Answer : d) All of above

Description : BIOS stands for _______: a)Basic Integrated Output System b) Basic Integrated Operator System c) Basic Input Output Software d) Basic Input Output System e) None of The Above

Last Answer : d) Basic Input Output System

Description : The unit of hardware, which an operator uses to monitor computer processing, is the 1) Card Reader 2) CPU 3) Line Printer 4) Console

Last Answer : 4) Console

Description : The individual within the operations group who ordinarily uses a variety of keyboard devices, is the 1) Data Clerk 2) Keypunch Operator 3) Data Entry Clerk 4) Computer Operator

Last Answer : 3) Data Entry Clerk

Description : Write one difference between / and % operator.

Last Answer : Ans. / is division operator while % is modulus operator which gives the remainder on dividing two numbers.

Description : Write a difference between Unary and Binary Operator

Last Answer : Ans. Operators that acts on one operand are referred to as Unary Operators while Binary Operators acts upon two operand Unary + or Unary – , increment/decrement are the example of Unary operator While binary operator +,-,*,/ and % are the example of binary operators , (+) adds values of its operands

Description : What is function overloading and operator overloading?

Last Answer : Function overloading: C++ enables several functions of the same name to be defined, as long as these functions have different sets of parameters (at least as far as their types are ... add anything fundamental to the language (but they can improve understandability and reduce maintenance costs).

Description : Which of the following is not a logical operator ? (1) ADD (2) AND (3) NOT (4) OR

Last Answer : ADD

Description : The size of a ______can cover a city whose scope is less than 100 kilometer such as cable TV networks etc: a) MAN b) LAN c) WAN d) None of These

Last Answer : a) MAN

Description : Which of the following does not affect the resolution of a video display image? A) Bandwidth B) Raster scan rage C) Vertical and horizontal lines of resolution D) Screen size

Last Answer : Answer : D

Description : Plotter accuracy is measured in terms of repeatability and A) Buffer size B) Resolution C) Vertical dimensions D) Intelligence

Last Answer : Answer : B

Description : Which of the following are (is) considered to be video component? A) Resolution B) Color depth C) Refresh rate D) All of the alcove

Last Answer : Answer : D

Description : Printer resolution is a numerical measure of print quality that is measured in _______ A. Pages Per Minute (PPM) B. Lines Per Minute (LPM) C. Characters Per Second (CPS) D. Dots Per Inch (DPI)

Last Answer : D. Dots Per Inch (DPI)

Description : Printer resolution is usually measured in ________ A. Characters Per Minute (CPM) B. Pixels Per Inch (PPI) C. Pages Per Minute (PPM) D. Dots Per Inch (DPI)

Last Answer : D. Dots Per Inch (DPI)

Description : A displaying screen in which text is presented in one colour and background is of any other colour is called ________ A. monochrome screen B. high resolution screen C. low resolution screen D. medium resolution screen

Last Answer : A. monochrome screen

Description : The rate at which scanning is repeated in a CRT is called ________ A. Resolution B. Refresh rate C. Bandwidth D. None of the Above

Last Answer : B. Refresh rate

Description : The higher the resolution of a monitor, the _________ A. larger the pixels. B. closer together the pixels. C. further apart the pixels. D. less clear the screen is.

Last Answer : B. closer together the pixels.

Description : The most important characteristic of a monitor is its: a) dot pitch b) clarity c)resolution d) None of The Above

Last Answer : b) clarity

Description : SCSI is term related with ---- 1) Storage 2) Network Data Transfer 3) Keystroke Rate 4) Picture resolution

Last Answer : 1) Storage

Description : In a high resolution mode, the number of dots in a line will usually be ---- 1) 320 2) 640 3) 760 4) 900

Last Answer : 2) 640

Description : What is meant by resolution?

Last Answer : Ans. The number of pixels on the screen expressed as a matrix is called resolution.

Description : ........... is responsible for converting the higher level protocol addresses to physical Network Addresses. A) Address Resolution Protocol (ARP) B) Reverse Address Resolution Protocol (RARP) C) Bootstrap Protocol (BOOTP) D) Internet Control Message Protocol (ICMP)

Last Answer : A) Address Resolution Protocol (ARP)

Description : The most important and common protocols associated TCP/IP internetwork layer are. i) Internet Protocol (IP) ii) Internet Control Message Protocol (ICMP) iii) Bootstrap Protocol (BOOTP) iv) Dynamic Host Configuration Protocol (DHCP) V) ... C) i, iii, iv and v only D) All i, ii, iii, iv and v only

Last Answer : D) All i, ii, iii, iv and v only

Description : .Single inference rule also called… a. Resolution b. Reference c.Reference d.None of these

Last Answer : a. Resolution

Description : The rate at which scanning is repeated in a CRT is called : (1) refresh rate (2) resolution (3) pitch (4) bandwidth

Last Answer : refresh rate