SlideShare uma empresa Scribd logo
1 de 1
Baixar para ler offline
11. Which of the following command/keyword is used to compiledava code? (2pts) a. javac b.
pythonc c. lava d. Python 12. Which of the following is used to run/execute java code? (2pts) a.
java b. python + java c. javac d. none of the above 13. Which of the following IS NOT a valid Java
variable name? (2pts) a. 7June b. lune7 c. Juneseven d. June2022 14. What is the equivalent
Python statement for the expression below? (2pts) int age =10; a. age =10n b. int age =10 c. age
=10 d. all the above 15. Write the equivalent Python expression for the Java expression below?
(5pts) if (age <18 ) f System. out.print("Sorry, you are not old enough to votel"); 3 Write your code
below7. Which of the foliowing CANNOT be used as a dictionaly sm a. int b. str c. list d. tuple 8.
What does the Java statement below accomplish? (2pts) Employee newEngloyee = new
Enployee(frstiace, Isttiame, satry): a. Prompts the user for newEmplovee b. Create Employee
method c. Creates Employee object and stores and assigns it to newEmployee d. All the above 9.
Review the Python code below. How many ' 62234 keys will the dictionary contain after the
highlighted statement runs? (2pts) fruit = {62234: ' banana'; 62235; 'orange', 62236: 'mango' } fruit
[62234]= 'blueberries' a. 2 b. 1 c. 3 d. None of the above 10. What is the Java equivalent of the
Python code below? (2pts) courses=["csc401,"csc402","csc241","csc282"] a. String [] courses = {
"csc401", "csc402", "csc241", "csc282"); b. courses n [" csc401","csc402","csc241","csc282"] c. int
course = new int ['csc401; ' csc402,csc241,csc282] d. None of the above11. Which of the following
command/keyword is used to compiledava code? (2pts) a. javac b. pythonc c. lava d. Python 12.
Which of the following is used to run/execute java code? (2pts) a. java b. python + java c. javac d.
none of the above 13. Which of the following IS NOT a valid Java variable name? (2pts) a. 7June
b. lune7 c. Juneseven d. June2022 14. What is the equivalent Python statement for the expression
below? (2pts) int age =10; a. age =10n b. int age =10 c. age =10 d. all the above 15. Write the
equivalent Python expression for the Java expression below? (5pts) if (age <18 ) f System.
out.print("Sorry, you are not old enough to votel"); 3 Write your code belowa. public b. String c. red
d. all the above 29. Review the Java code below. What does the highlighted code represent?
(2pts) pubtic class Test 1 public static void nain(String [1 args) f Systen. out, print ln("This is a test
progran"): osuppresswarnings ("unused") int score = 20; int newscore = scoret+1 ) Systen, out,
print(newscore): pubtic static int sun(int a, int b) & return 0+bi a. Class code b. Method body c.
Main code d. Method header

Mais conteúdo relacionado

Semelhante a 11 Which of the following commandkeyword is used to compil.pdf

Java Questioner for
Java Questioner for Java Questioner for
Java Questioner for
Abhay Korat
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docx
rosemarybdodson23141
 
Fnt software solutions placement paper
Fnt software solutions placement paperFnt software solutions placement paper
Fnt software solutions placement paper
fntsofttech
 
Qust & ans inc
Qust & ans incQust & ans inc
Qust & ans inc
nayakq
 

Semelhante a 11 Which of the following commandkeyword is used to compil.pdf (20)

Java Questioner for
Java Questioner for Java Questioner for
Java Questioner for
 
The First C# Project Analyzed
The First C# Project AnalyzedThe First C# Project Analyzed
The First C# Project Analyzed
 
Java Programming.pdf
Java Programming.pdfJava Programming.pdf
Java Programming.pdf
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docx
 
C++ Code as Seen by a Hypercritical Reviewer
C++ Code as Seen by a Hypercritical ReviewerC++ Code as Seen by a Hypercritical Reviewer
C++ Code as Seen by a Hypercritical Reviewer
 
Report in Java programming and SQL
Report in Java programming and SQLReport in Java programming and SQL
Report in Java programming and SQL
 
Unit I Advanced Java Programming Course
Unit I   Advanced Java Programming CourseUnit I   Advanced Java Programming Course
Unit I Advanced Java Programming Course
 
Fnt software solutions placement paper
Fnt software solutions placement paperFnt software solutions placement paper
Fnt software solutions placement paper
 
Java Question-Bank-Class-8.pdf
Java Question-Bank-Class-8.pdfJava Question-Bank-Class-8.pdf
Java Question-Bank-Class-8.pdf
 
C++ Certified Associate Programmer CPA
C++ Certified Associate Programmer CPAC++ Certified Associate Programmer CPA
C++ Certified Associate Programmer CPA
 
Of complicacy of programming, or won't C# save us?
Of complicacy of programming, or won't C# save us?Of complicacy of programming, or won't C# save us?
Of complicacy of programming, or won't C# save us?
 
C Programming Homework Help
C Programming Homework HelpC Programming Homework Help
C Programming Homework Help
 
Qust & ans inc
Qust & ans incQust & ans inc
Qust & ans inc
 
How Good of a Java Developer are You?
How Good of a Java Developer are You?How Good of a Java Developer are You?
How Good of a Java Developer are You?
 
DAC CCAT GUESS PAPER Jun-Jul 2013
DAC CCAT GUESS PAPER Jun-Jul 2013 DAC CCAT GUESS PAPER Jun-Jul 2013
DAC CCAT GUESS PAPER Jun-Jul 2013
 
Technical aptitude Test 1 CSE
Technical aptitude Test 1 CSETechnical aptitude Test 1 CSE
Technical aptitude Test 1 CSE
 
LDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdf
LDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdfLDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdf
LDCQ paper Dec21 with answer key_62cb2996afc60f6aedeb248c1d9283e5.pdf
 
Automatically Documenting Program Changes
Automatically Documenting Program ChangesAutomatically Documenting Program Changes
Automatically Documenting Program Changes
 
Part - 2 Cpp programming Solved MCQ
Part - 2  Cpp programming Solved MCQ Part - 2  Cpp programming Solved MCQ
Part - 2 Cpp programming Solved MCQ
 
C multiple choice questions and answers pdf
C multiple choice questions and answers pdfC multiple choice questions and answers pdf
C multiple choice questions and answers pdf
 

Mais de adamsmannequins1

12 14 pts The following shows a scatter plot of average e.pdf
12 14 pts The following shows a scatter plot of average e.pdf12 14 pts The following shows a scatter plot of average e.pdf
12 14 pts The following shows a scatter plot of average e.pdf
adamsmannequins1
 
11 Use the hypothetical atom drawings AF below to answer .pdf
11 Use the hypothetical atom drawings AF below to answer .pdf11 Use the hypothetical atom drawings AF below to answer .pdf
11 Use the hypothetical atom drawings AF below to answer .pdf
adamsmannequins1
 
11 Qu afirmacin NO describe las condiciones de trabajo d.pdf
11 Qu afirmacin NO describe las condiciones de trabajo d.pdf11 Qu afirmacin NO describe las condiciones de trabajo d.pdf
11 Qu afirmacin NO describe las condiciones de trabajo d.pdf
adamsmannequins1
 
11 Assume A base of array AB base of array B What does .pdf
11 Assume A base of array AB base of array B What does .pdf11 Assume A base of array AB base of array B What does .pdf
11 Assume A base of array AB base of array B What does .pdf
adamsmannequins1
 

Mais de adamsmannequins1 (20)

11 What was the weathering agent in the Iab Question 12 12.pdf
11 What was the weathering agent in the Iab Question 12 12.pdf11 What was the weathering agent in the Iab Question 12 12.pdf
11 What was the weathering agent in the Iab Question 12 12.pdf
 
12 14 pts The following shows a scatter plot of average e.pdf
12 14 pts The following shows a scatter plot of average e.pdf12 14 pts The following shows a scatter plot of average e.pdf
12 14 pts The following shows a scatter plot of average e.pdf
 
12 T F The digital signal transmitted straight out fro.pdf
12  T   F   The digital signal transmitted straight out fro.pdf12  T   F   The digital signal transmitted straight out fro.pdf
12 T F The digital signal transmitted straight out fro.pdf
 
116 Computing ratios Use the information from the balanc.pdf
116 Computing ratios Use the information from the balanc.pdf116 Computing ratios Use the information from the balanc.pdf
116 Computing ratios Use the information from the balanc.pdf
 
111C1 Qu tan bien respondo al cambio turbulento Instr.pdf
111C1 Qu tan bien respondo al cambio turbulento  Instr.pdf111C1 Qu tan bien respondo al cambio turbulento  Instr.pdf
111C1 Qu tan bien respondo al cambio turbulento Instr.pdf
 
114 The HPCompaq merger In 2001 HP acquired Compaq The.pdf
114 The HPCompaq merger In 2001 HP acquired Compaq The.pdf114 The HPCompaq merger In 2001 HP acquired Compaq The.pdf
114 The HPCompaq merger In 2001 HP acquired Compaq The.pdf
 
1129 Correlation and Beta You have been provided the follow.pdf
1129 Correlation and Beta You have been provided the follow.pdf1129 Correlation and Beta You have been provided the follow.pdf
1129 Correlation and Beta You have been provided the follow.pdf
 
11 Use the hypothetical atom drawings AF below to answer .pdf
11 Use the hypothetical atom drawings AF below to answer .pdf11 Use the hypothetical atom drawings AF below to answer .pdf
11 Use the hypothetical atom drawings AF below to answer .pdf
 
11 What technique can be used to monitor channel activity .pdf
11 What technique can be used to monitor channel activity .pdf11 What technique can be used to monitor channel activity .pdf
11 What technique can be used to monitor channel activity .pdf
 
11 Qu afirmacin NO describe las condiciones de trabajo d.pdf
11 Qu afirmacin NO describe las condiciones de trabajo d.pdf11 Qu afirmacin NO describe las condiciones de trabajo d.pdf
11 Qu afirmacin NO describe las condiciones de trabajo d.pdf
 
11 On January 1 2021 Rutgers Company issues 2000 shares .pdf
11 On January 1 2021 Rutgers Company issues 2000 shares .pdf11 On January 1 2021 Rutgers Company issues 2000 shares .pdf
11 On January 1 2021 Rutgers Company issues 2000 shares .pdf
 
11 Perform subtraction on the given unsigned binary numbers.pdf
11 Perform subtraction on the given unsigned binary numbers.pdf11 Perform subtraction on the given unsigned binary numbers.pdf
11 Perform subtraction on the given unsigned binary numbers.pdf
 
11 In the following pedigree a rare Mendelian trait is tran.pdf
11 In the following pedigree a rare Mendelian trait is tran.pdf11 In the following pedigree a rare Mendelian trait is tran.pdf
11 In the following pedigree a rare Mendelian trait is tran.pdf
 
11 Figure The Market for Hamburgers Reference Ref 710 Fi.pdf
11 Figure The Market for Hamburgers Reference Ref 710 Fi.pdf11 Figure The Market for Hamburgers Reference Ref 710 Fi.pdf
11 Figure The Market for Hamburgers Reference Ref 710 Fi.pdf
 
11 Fungi used to be thought as relatives of the plants Wha.pdf
11 Fungi used to be thought as relatives of the plants Wha.pdf11 Fungi used to be thought as relatives of the plants Wha.pdf
11 Fungi used to be thought as relatives of the plants Wha.pdf
 
11 Drosophila females heterozygous for each of three recess.pdf
11 Drosophila females heterozygous for each of three recess.pdf11 Drosophila females heterozygous for each of three recess.pdf
11 Drosophila females heterozygous for each of three recess.pdf
 
11 Explain in Detail and support with appropriate examples w.pdf
11 Explain in Detail and support with appropriate examples w.pdf11 Explain in Detail and support with appropriate examples w.pdf
11 Explain in Detail and support with appropriate examples w.pdf
 
11 Las histonas centrales son pequeas protenas bsicas qu.pdf
11 Las histonas centrales son pequeas protenas bsicas qu.pdf11 Las histonas centrales son pequeas protenas bsicas qu.pdf
11 Las histonas centrales son pequeas protenas bsicas qu.pdf
 
11 Assume A base of array AB base of array B What does .pdf
11 Assume A base of array AB base of array B What does .pdf11 Assume A base of array AB base of array B What does .pdf
11 Assume A base of array AB base of array B What does .pdf
 
11 Bir ey ya da biri hakknda genel bir izlenim oluturmaya n.pdf
11 Bir ey ya da biri hakknda genel bir izlenim oluturmaya n.pdf11 Bir ey ya da biri hakknda genel bir izlenim oluturmaya n.pdf
11 Bir ey ya da biri hakknda genel bir izlenim oluturmaya n.pdf
 

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Último (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 

11 Which of the following commandkeyword is used to compil.pdf

  • 1. 11. Which of the following command/keyword is used to compiledava code? (2pts) a. javac b. pythonc c. lava d. Python 12. Which of the following is used to run/execute java code? (2pts) a. java b. python + java c. javac d. none of the above 13. Which of the following IS NOT a valid Java variable name? (2pts) a. 7June b. lune7 c. Juneseven d. June2022 14. What is the equivalent Python statement for the expression below? (2pts) int age =10; a. age =10n b. int age =10 c. age =10 d. all the above 15. Write the equivalent Python expression for the Java expression below? (5pts) if (age <18 ) f System. out.print("Sorry, you are not old enough to votel"); 3 Write your code below7. Which of the foliowing CANNOT be used as a dictionaly sm a. int b. str c. list d. tuple 8. What does the Java statement below accomplish? (2pts) Employee newEngloyee = new Enployee(frstiace, Isttiame, satry): a. Prompts the user for newEmplovee b. Create Employee method c. Creates Employee object and stores and assigns it to newEmployee d. All the above 9. Review the Python code below. How many ' 62234 keys will the dictionary contain after the highlighted statement runs? (2pts) fruit = {62234: ' banana'; 62235; 'orange', 62236: 'mango' } fruit [62234]= 'blueberries' a. 2 b. 1 c. 3 d. None of the above 10. What is the Java equivalent of the Python code below? (2pts) courses=["csc401,"csc402","csc241","csc282"] a. String [] courses = { "csc401", "csc402", "csc241", "csc282"); b. courses n [" csc401","csc402","csc241","csc282"] c. int course = new int ['csc401; ' csc402,csc241,csc282] d. None of the above11. Which of the following command/keyword is used to compiledava code? (2pts) a. javac b. pythonc c. lava d. Python 12. Which of the following is used to run/execute java code? (2pts) a. java b. python + java c. javac d. none of the above 13. Which of the following IS NOT a valid Java variable name? (2pts) a. 7June b. lune7 c. Juneseven d. June2022 14. What is the equivalent Python statement for the expression below? (2pts) int age =10; a. age =10n b. int age =10 c. age =10 d. all the above 15. Write the equivalent Python expression for the Java expression below? (5pts) if (age <18 ) f System. out.print("Sorry, you are not old enough to votel"); 3 Write your code belowa. public b. String c. red d. all the above 29. Review the Java code below. What does the highlighted code represent? (2pts) pubtic class Test 1 public static void nain(String [1 args) f Systen. out, print ln("This is a test progran"): osuppresswarnings ("unused") int score = 20; int newscore = scoret+1 ) Systen, out, print(newscore): pubtic static int sun(int a, int b) & return 0+bi a. Class code b. Method body c. Main code d. Method header