Tech Headlines Quiz for Week of March 13, 2023
RF Cafe Quiz #71

RF Engineering Quizzes - RF CafeAll RF Cafe Quizzes make great fodder for employment interviews for technicians or engineers - particularly those who are fresh out of school or are relatively new to the work world. Come to think of it, they would make equally excellent study material for the same persons who are going to be interviewed for a job. Bonne chance, Viel Glück, がんばろう, buena suerte, удачи, in bocca al lupo, 행운을 빕니다, ádh mór, בהצלחה, lykke til, 祝你好運. Well, you know what I mean: Good luck!

Click here for the complete list of RF Cafe Quizzes.

Note: Some material based on books have quoted passages.

This "Recent Tech Headlines Quiz" challenges your ability to recall items from the homepage "Electronics & Tech Headlines" column for the week of March 13, 2023. Except for the questions and answers which I modified (and added two more sets), every line of JavaScript code for this multiple-choice quiz was generated based on a query made to the ChatGPT engine from OpenAI. It also generated code for the PHP language, and will presumable do so for many other computer languages. Just for the heck of it, I had ChatGPT generate a version of the quiz code in the COBOL language. COBOL, if you are old enough to recall, the a primary mainframe computer language before the PC era, and was a big deal during the run-up to Y2K because legacy code could not handle the century change. Lots of gray-haired, retired COBOL programmers made big bucks helping coders port code to C++, Delphi, Linux, Unix, and other more modern languages - and modifying COBOL code to be able to make the 1999 to 2000 year change.

 

Select your answers, then click the "Submit" button.

1. What questionable material does a proposed type of Edible Electronics contain?

Beeswax
Graphene
Monkey brain
Cotton

 

2. By what date will India Reach Full 5G Coverage?

2026
2025
2024
2023

 

3. Which country is now considering banning Huawei and ZTE 5G equipment?

Germany
Ireland
France
Somalia

 

4. Which group of countries is planning a Planning to Lithium Cartel?

U.S. and Canada
Eastern Europe
Australia and New Zealand
South America

 

5. Which company has demonstrated Anti-Jam Capability for U.S. DoD Satellites?

Samsung
Boeing
Honeywell
Huawei

 

 

 

 

COBOL Code for the Same Quiz:

IDENTIFICATION DIVISION.
PROGRAM-ID. QUIZ.
ENVIRONMENT DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT CONSOLE ASSIGN TO CRT.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 SCORE PIC 99 VALUE ZERO.
01 Q1 PIC X(80) VALUE "What is the capital of France?".
01 A1 PIC X(80) VALUE "A. Madrid".
01 A2 PIC X(80) VALUE "B. Rome".
01 A3 PIC X(80) VALUE "C. Berlin".
01 A4 PIC X(80) VALUE "D. Paris".
01 Q2 PIC X(80) VALUE "What is the largest country in the world?".
01 B1 PIC X(80) VALUE "A. Canada".
01 B2 PIC X(80) VALUE "B. Russia".
01 B3 PIC X(80) VALUE "C. Australia".
01 B4 PIC X(80) VALUE "D. China".
01 Q3 PIC X(80) VALUE "What is the chemical symbol for gold?".
01 C1 PIC X(80) VALUE "A. Go".
01 C2 PIC X(80) VALUE "B. Ag".
01 C3 PIC X(80) VALUE "C. Au".
01 C4 PIC X(80) VALUE "D. Ge".
PROCEDURE DIVISION.
MAIN-LOGIC.
DISPLAY "Welcome to the quiz!".
DISPLAY "Answer the following questions by typing in A, B, C, or D".
DISPLAY Q1.
DISPLAY A1.
DISPLAY A2.
DISPLAY A3.
DISPLAY A4.
ACCEPT A1-ANSWER.
IF A1-ANSWER = "D" THEN
ADD 1 TO SCORE
END-IF.
DISPLAY Q2.
DISPLAY B1.
DISPLAY B2.
DISPLAY B3.
DISPLAY B4.
ACCEPT B2-ANSWER.
IF B2-ANSWER = "B" THEN
ADD 1 TO SCORE
END-IF.
DISPLAY Q3.
DISPLAY C1.
DISPLAY C2.
DISPLAY C3.
DISPLAY C4.
ACCEPT C3-ANSWER.
IF C3-ANSWER = "C" THEN
ADD 1 TO SCORE
END-IF.
DISPLAY "Your score is: ", SCORE.
DISPLAY "Here are the correct answers:".
DISPLAY "Question 1: ", Q1.
DISPLAY "Correct answer: D".
DISPLAY "Question 2: ", Q2.
DISPLAY "Correct answer: B".
DISPLAY "Question 3: ", Q3.
DISPLAY "Correct answer: C".
STOP RUN.

 

 

Posted March 20, 2023