programming languages Online Quiz - 132
Description: programming languages Online Quiz - 132 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
class C { public static void main (String[] a1) { System.out.print(a1[1] + a1[2] + a1[3]); }} What is the result of attempting to compile and run the program? java command A B C
class C{ static int s; public static void main(String a[]){ C obj=new C(); obj.m1(); System.out.println(s); } void m1(); { int x=1; m2(x); System.out.println(x+""); } void m2(int x){ x=x*2; s=x; }}
class C { public static void main(String[] args) { int i1=1; switch(i1){ case 1: System.out.println("one"); case 2: System.out.println("two"); case 3: System.out.println("three"); }}} What is the result of attempting to compile and run the program?
Each element must be unique Duplicate elements must not replace old elements. Elements are not key/value pairs. Accessing an element can be almost as fast as performing a similar operation on an array. Which of these classes provide the specified features?
What is necessary for a programming language?
Identify the true statement.
Programming is the job of ____
Name the type of ABAP Dictionary table that has these characteristics: Same number of fields as the database table Same name as database table Maps 1:1 to database table
An event starts with an event keyword and ends with:
Which of the following is NOT a required attribute when creating an ABAP program? A: Application B: Title C: Status D: Type
Coding two INITIALIZATION events will cause a syntax error.
When creating a transparent table in the ABAP Dictionary, which step automatically creates the table in the underlying database?
A field declared as type T has the following internal representation
If you use a RUN statement with a PROC SQL step
Complete the SELECT clause below to create a new column named Profit by subtracting the values of the column Cost from those of the column Price. select fruit,cost,price, ________________
Which PROC SQL query will remove duplicate values of MemberType from the query output, so that only the unique values are listed?
What happens if you use a GROUP BY clause in a PROC SQL step without a summary function?
Which clause in the following program is incorrect? proc sql; select sex,mean(weight) as avgweight from company.employees company.health where employees.id=health.id group by sex;
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?
What is the purpose of the following statement ---- PROC SQL INOBS= 10;