programming languages Online Quiz - 125
Description: programming languages Online Quiz - 125 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
C++ provides facility to specify that the compiler should match function calls with the correct definition at the run time. This process is called as
In Java, to copy the contents of a to a new Foo object b
In C++, this pointer is used by the symbol___
C++ is normally compiled directly to machine code which is then executed directly by the operating system
In Java ,the statement Foo d = c; binds d to reference the same object as c, what will be equivalent statement in C++
A Cartesian product is returned when
Consider this PROC SQL query: proc sql; select flightnumber, count(*) as Flights, avg(boarded) label="Average Boarded" format=3. from sasuser.internationalflights group by flightnumber having avg(boarded) > 150; The table Sasuser.Internationalflights contains 201 rows, 7 unique values of FlightNumber, 115 unique values of Boarded, and 4 different flight numbers that have an average value of Boarded that is greater than 150. How many rows of output will the query generate?
Which statement about the following PROC SQL query is false? proc sql; validate select name label=’Country’, rate label=’Literacy Rate’ from world.literacy where ’Asia’ = (select continent from world.continents where literacy.name = continents.country) order by 2;
In order for PROC SQL to perform an inner join,
A PROC SQL inner join can combine
Which PROC SQL query will remove duplicate values of MemberType from the query output, so that only the unique values are listed?
Bonus dataset ID Bonus 123 5000 456 7000 744 3500 Salary Dataset ID Salary 123 70000 456 80000 978 55000 Given the PROC SQL query and tables shown below, which output is generated? proc sql; select s.*, bonus from bonus as b right join salary as s on b.id= s.id;
Which statement about the use of table aliases is false?
Which of the following will cause PROC SQL to list rows that have no data in the Address column?
You are creating a PROC SQL query that will list all employees who have spent (or overspent) their allotted 120 hours of vacation for the current year. The hours that each employee used are stored in the existing column Spent. Your query defines a new column, Balance, to calculate each employee’s balance of vacation hours. Which query will produce the report that you want?
$input = “abdce” =~ tr/abc/123 print $input;
$string = “\uhello world!”; print $string; $string = “\Uhello world!”; print $string;
package A; sub new { return bless {}, shift; } sub DESTROY { print ref(shift); } package B; use base 'A'; sub DESTROY { my $self = shift; print ref($self); bless $self, 'A'; } package main; my $obj = B->new();