Write a Python program that reads in an integer and then displays the digits in that integer in reverse order
Write a Python program that reads in exam results from the user. The program should then display the number of students who achieved more than 70% in their exam. Assume that the first value read in specifies the number of exam results that are to be entered.
'The results from search engines are cannot be relied upon.' Carry out any additional research you need in order to discuss whether or not this statement is true.
Masking - 2
Write a program that reads a single line of input and prints the first two and last two characters of the given input and prints the asterisk character (*) in place of the remaining characters.
Explanation
For example, if the given string is
message, then the first two and last two characters are me, ge. Now replacing all the remaining characters with * will give the output me***ge.
Sample Input 1
message
Sample Output 1
me***ge
Sample Input 2
12345
Sample Output 2
12*45
i. Login page with username and password
ii. Contact form with Passport picture, Submit button
a. Create a folder with ‘’ My First Project_Student ID’’. Also, use HTML to create the main heading as ‘’MELCOM WEBSITE’’
b. For you to validate the login page and form. It is important to write JavaScript to ensure the accuracy of the form element before submission.
c. Provide five (5) images of your choice and include your Passport picture/image for the entire webpage.
d. Link the pages to each section to ensure effective navigation of the pages.
e. Use your skills in JavaScript to provide dynamism to your pages to meet your design.
Note:
a. You are required to bring texts of your own, paragraph, line break, and headings
b. Use any color of your choice where appropriate also use font style and font size where no further instruction is given.
PRODUCE A TWO PAGE REPORT ON MYSQL STORAGE ENGINES OR TABLE TYPE
Given two strings inputString and subString as inputs, write a JS program to slice the inputString if it includes the subString. Slice the inputString starting from the subString to the end of the inputString.
"use strict";
process.stdin.resume();
process.stdin.setEncoding("utf-8");
let inputString = "";
let currentLine = 0;
process.stdin.on("data", (inputStdin) => {
inputString += inputStdin;
});
process.stdin.on("end", (_) => {
inputString = inputString.trim().split("\n").map((str) => str.trim());
main();
});
function readLine() {
return inputString[currentLine++];
}
/* Please do not modify anything above this line */
function main() {
let inputString = readLine();
const subString = readLine();
/* Write your code here */
}
}
Given an array
"use strict";
process.stdin.resume();
process.stdin.setEncoding("utf-8");
let inputString = "";
let currentLine = 0;
process.stdin.on("data", (inputStdin) => {
inputString += inputStdin;
});
process.stdin.on("end", (_) => {
inputString = inputString.trim().split("\n").map((str) => str.trim());
main();
});
function readLine() {
return inputString[currentLine++];
}
/* Please do not modify anything above this line */
function main() {
const myArray = JSON.parse(readLine());
/* Write your code here */
}
24) which of the following converts the expression to object data type in VB.NET?
A) CSng(expression)
B) CShort(expression)
C) Cobj(expression)
D) CSByte(expression)
25) Which of the following directive is used for indicating a mapping between specific lines of source code and text external to the source?
A) #Const B) #ExternalSource C) #If…Then…#Else D) #Region
22) Which of the following statement declares the name of a class and introduces the definition of the variables, properties, events and procedures that the class comprises?
A) Dim B) Const C) Enum D) class
23) which task is accomplished in the code editor?
A) Adding forms to the project
B) Adding controls to form
C) Adding controls to the title
D) Adding event procedures to the form