Screening

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 20

CODER SCREENING

For latest answer/ screening call Eliud MAINA 0746082039

1. I would like an input field to be marked as in-valid (red) when the form is submitted, regardless
of its content
443411
555511
2. Use the provided rubric and criteria to rate each response.
234411
535511
I'm trying to initialize a list of points in python where the y coordinate is double the x coordinate and
the x coordinate is increasing from 0 to 5. Please tell me what I'm doing wrong:

242211
555511
3. I want you to create a student registration system in java by using OOP CONCEPTs. However,
the code should be able to check that each registration number is unique.
332211
444411

4. Let's say a div in HTML has the format of:


first name: input,
last name: input,
message: textbox
button. When the button is clicked, another div appears such that the values inputted above
are shown.
first name: value entered by user
last name: value entered by user
message: text written by user

Write some code to accomplish this.

343311
444411
5. The issue you're encountering is related to how C++ handles volatile
variables and how they interact with function calls. In C++, volatile
variables are used to indicate that the value of the variable may change due
to external factors (e.g., hardware interrupts) and should not be optimized
by the compiler.
However, when you try to index into a volatile struct, the compiler
generates a temporary non-volatile copy of the struct element to perform the
indexing operation. This temporary copy is created because the compiler
needs to perform the indexing operation on a non-volatile object.
The error message you're seeing indicates that the compiler is unable to
find a suitable constructor for creating a temporary SensorData_t object
from the volatile SensorData_t& reference. The two constructors available
for SensorData_t are:
SensorData_t(const SensorData_t&) - This constructor is used for copying a
SensorData_t object.
SensorData_t(SensorData_t&&) - This constructor is used for moving a
SensorData_t object.
Since the temporary copy is created as an lvalue (an object with an identity
that can be assigned to), the compiler tries to use the SensorData_t(const
SensorData_t&) constructor, which requires a non-volatile SensorData_t&
reference. However, the volatile SensorData_t& reference from the indexing
operation cannot be converted to a non-volatile reference, leading to the
error.
To resolve this issue, you have a couple of options:

343311
555511

6. How to create a logout page in java without a data base


454411
343311

7. Explain the following code to me:


import React, { useState } from 'react'

import './App.css';

function App() {
const [isPopupOpen, setIsPopupOpen] = useState(false);

const openPopup = () => {


setIsPopupOpen(true);
};

const closePopup = () => {


setIsPopupOpen(false);
};

return (
<div className="App">
<button onClick={openPopup}>Open Popup</button>
{isPopupOpen && (
<div className="popup">
<div className="popup-content">
<span className="close" onClick={closePopup}>&times;</span>
<p>Hello, How are you?</p>
</div>
</div>
)}
</div>
);
}

export default App;


555511

525511

8. I have a timeseriesdataframe and want to drop the last period of data for all items, how do I do
this?
545511
254211
9. Generate a code in java that reads a csv file with form data such as name, age, gender, occupation
and salary. I want a java program that will filter out all the non numerical data and calculate
averages of all the numerical data
555511
453211
10. Tell me the errors with my code. Its supposed to be a multithreaded java program using
executorservice that will read data from my text file. Each line in my file contains an infix
operation of 1 number, an operator and another number all separated by a space. I need to
process this so that the result of that operation is printed to the console along with the thread
that handled its execution
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Main {


public static void main(String[] args) {
String filePath = "file.txt";

ExecutorService executor = Executors.newFixedThreadPool(4);

try (BufferedReader reader = new BufferedReader(new FileReader(filePath))) {


String line;
while ((line = reader.readLine()) != null) {
executor.submit(() -> processLine(line));
}

} catch (IOException e) {

e.printStackTrace();
} finally {
executor.shutdown();
}
}

private static void processLine(String line) {


String[] parts = line.split(" ");
double num1 = Double.parseDouble(parts[0]);
double num2 = Double.parseDouble(parts[2]);
String operator = parts[1];

double result = 0;
switch (operator) {
case "+":
result = num1 + num2;
break;
case "-":
result = num1 - num2;
break;
case "*":
result = num1 * num2;
break;
case "/":
result = num1 / num2;
break;
default:
System.out.println("Invalid operator: " + operator);
return;
}

System.out.println(Thread.currentThread().getName() + ": " + line + " = " + result);


}
}

11. Write a function in python that prints a matrix in a spiral.


555511
552211
12. refactor this c code snippet, don't use bool, and keep cls

#include <stdio.h>

#include <string.h>

#define MAXN 100

void removed(char list[MAXN][21], int *pn) {

search(list, pn); // Assuming search is a function defined elsewhere

printf("Which Name do you want to remove? (input a number): ");


int del, i;

scanf("%d", &del);

if (del >= 0 && del < *pn) {

for (i = del + 1; i < *pn; i++) {

strcpy(list[i - 1], list[i]);

printf("Removed!\n");

(*pn)--;

} else {

printf("Unremoved!\n");

system("cls");

555511
254211
13. Create a Bash script that allows the reading of the content of a .txt file and print each line.
323411
555511
14. Explain to me how to achieve polymorphism using classes in C++
545511
325411
15. Given a list of emails, write some code that creates a tuple of the username and domain
before .com or anything similar in Python. For example, if the emails are "[email protected]"
and "[email protected]", the output should be the following array of tuples: [('test1',
'example1'), ('test2', 'example2')]
222111
555511
16. Write a program in Java to compute the sum of two numbers that sum up to a given number K
555511
552511
17. i want a js file that has some data that i need, to be stored in session storage but after a while that
data will be deleted
342211
555511
18. Explain to me why I get this error message:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 5 out of bounds


for length 5
at ArrayClass.main(test2.java:4)

When I tried to run the following code:

```java
public class ArrayClass {
public static void main(String[] args) {
int[] numbers = { 1, 2, 3, 4, 5 };
System.out.println(numbers[5]);
}
}
342211
555511
19. come up with code that has 50 boxes and each box leads to a different random website
334511
452211
20. Write a program in Java to compute the sum of two numbers that sum up to a given number K.
Response 1 - 5, 5, 5, 5, 1, 1
Response 2 - 5, 5, 2, 5, 1, 1
21. Explain this code. Go step by step, explaining each line in detail: const re = /A[a-zA-Z]+g/; const str
= "fcc fi fo fun"; const myArray = str.match(re); console.log(myArray);
Response 1 - 2 , 5 , 5, 2, 1, 1
Response 2- 5, 5, 5, 5 1, 1
22. Write a JS/React component for showing a button that opens a popup and says 'Hello, how are
you?
Response 1 - 2,3,4,4,1,1
Response 2 – 5,3,5,5,1,1
23. Explain to me why I get this error message: Exception in thread "main"
java.lang.ArrayIndexOutOfBoundsException: Index 5 out of bounds for length 5 at
ArrayClass.main(test2.java:4) When I tried to run the following code: public class ArrayClass
{ public static void main(String[] args) { int[] numbers = {1, 2, 3, 4, 5};
System.out.println(numbers[5]); }
Response 1 - 2,4,2,2,1,1
Response 2 – 5,5,5,5,1,1
24. I'm trying to initialize a list of points in python where the y coordinate is double the x coordinate
and the x coordinate is increasing from 0 to 5. Please tell me what I'm doing wrong o = {"x": 0, "y":
0} l = [] for i in xrange(0, 5): m = o m["x"] = i m["y"] = i*2 l.append(m) print(l)
Response 1 - 2,4,1,2,1,1
Response 2 – 4,4,5,5,1,1
25. What is the output in Python? Explain. # reassignment a = [1, 2, 3, 4] b = a a += [5, 6, 7, 8] print(a)
print(b) # extends a = [1, 2, 3, 4] b = a a.extend([5, 6, 7, 8]) print(a) print(b)
Response 1 – 2,5,1,3,1,1
Response 2 - 3,5,5, 5,1,1
26. import React, { useState } from 'react'; import './App.css'; function App() { const
[isPopupOpen, setIsPopupOpen] = useState(false); const openPopup = () =>
{ setIsPopupOpen(true); }; const closePopup = () => { setIsPopupOpen(false); }; return (
Open Popup {isPopupOpen && (
×

Hello, How are you?

)}
); } export default App;
Response 1 - 5,5,5,5,1,1
Response 2 - 5,2,5,5,1,1
27. Write a generator to yield the Fibonacci numbers in Python.
Response 1 – 5,5,5,5,1,1
Response 2 – 3,5,5,5,1,1
28. Why don't I need a try/catch here: with open('resource_file.py') as open_file: if open_file.length >
100: raise Exception('File too big to parse') ```"
Response 1 – 4,3,5,5,1,1
Response 2 – 2,3,4,2,1,1
29. How can i include 'e_core_web_lg' in a python script in a way, that makes it possible for
'pyinstaller' to create an '.exe’
Response 1 – 5,5,5,5,1,1
Response 2 – 5,3,5,5,1,1
30. I need a program in C++ that converts a binary number into a hexadecimal number. Allow an input
entry for the binary number. Add comments to all the code.
Response 1 – 1,2,5,1,1,1
Response 2 – 5,5,5,5,1,1
31. Can you write a code in C++ that removes all the whitespace from a given string? Write the
program using classes and comment on each part of the code.
Response 1 – 5,5,5,5,1,1
Response 2 – 5,5,5,2,1,1
32. How do I use the requests package in Python to hit an endpoint and retry if there are failures?
Response 1 – 3,4,4,4,1,1
Response 2 – 2,4,1,3,11
33. How can I filter a list of coordinates using Python list comprehension?
Response 1 – 5,5,5,5,1,1
Response 2 – 2,4,5,2,1,1
34. Try to optimize the following code: const addIf: { [key: number]: string } = { 3: "Fizz", 5: "Buzz", 15:
"FizzBuzz", }; function f(n: number): string[] | string { if (n <= 0) { return "n value has to be more
than 0"; } return Array.from({ length: n }, (_, i) => Object.keys(addIf) .map((d) => (i + 1) %
Number(d) === 0 ? addIf[Number(d)] : "")) .join('') || String(i + 1) ); } const n = 20; // Change this to
the desired value of n console.log(f(n));
Response 1 – 5,5,5,5,1,1
Response 2 – 4,4,2,2,1,1
35. Create a Bash script that allows the reading of the content of a .txt file and print each line.
Response 1 – 3,2,3,4,1,1
Response 2 – 5,5,5,5,1,1
36. Refactor this c code snippet, don't use bool, and keep cls #include #include #define MAX 100 void
remove(char list[MAX][21], int *p); // I'm ASSUMING search is a function defined elsewhere
printf("Which name do you want to remove? (input a number): "); int del_id, i; scanf("%d",
&del_id); if (del_id >= 0 && del_id < *p) { for (i = del_id + 1; i < *p; i++) { strcpy(list[i - 1], list[i]); }
printf("Removed!\n"); (*p)--; } else { printf("Unremoved!\n"); } system("cls"); }
Response 1 – 5,5,5,5,1,1
Response 2 – 2,5,4,2,1,1
37. Write me a simple program explaining how classes work in C++
Response 1 – 2,3,4,4,1,1
Response 2 – 5,3,5,5,1,1
38. Write a program in Java that concatenates a given string. Give me the code without comments or
docstrings.
Response 1 – 3,2,4,4,1,1
Response 2 – 5,5,5,5,1,1
39. What does the .find() in Js do?
Response 1 – 5,5,5,5,1,1
Response 2 – 5,4,2,4,1,1
40. Write a function in python that prints a matrix in a spiral.
Response 1 – 5,5,5,5,1,1
Response 2 – 5,5,2,2,1,1
41. Please answer the following question. Question title: indexing an element from a volatile struct
doesn't work in C++ I have this code: typedef struct {
int test;
} SensorData_t;

volatile SensorData_t sensorData[10];

SensorData_t getNextSensorData(int i) {
SensorData_t data = sensorData[i];
return data;
}
int main(int argc, char** argv) {
// ...
}
Response 1 – 252211
Response 2 – 454511
42. How to improve "(a) => { return Math.pow(a) > 2 ? Math.pow(a) + 1 : false;} " , keeping in one-line
function
Response 1 = 4,4,3,4,1,1
Response 2 = 5,4,5,5,1,1
43. Given two arrays, username and website, along with an array timestamp, all of the same length,
where the tuple [username[i], website[i], timestamp[i]] denotes that user username[i] visited
websitewebsite[i] at time timestamp[i]. A pattern consists of three websites, and the score of a
pattern represents the number of users who visited all the websites in the pattern in the same
order. For instance, if the pattern is ["home", "about", "career"], the score is the count of users
who visited "home," followed by "about," and then "career." Write a JS function to find the
pattern with the highest score, and if there are multiple patterns with the same highest score,
return the lexicographically smallest one. - It is guaranteed that there is at least one user who
visited at least three websites and - All the tuples [username[i], timestamp[i], website[i]] are
unique. Example: Input: username =
["joe","joe","joe","james","james","james","james","mary","mary","mary"], timestamp =
[1,2,3,4,5,6,7,8,9,10], website =
["home","about","career","home","cart","maps","home","home","about","career"], then the
tuples in this example are: ["joe","home",1],["joe","about",2],["joe","career",3],
["james","home",4],["james","cart",5],["james"," maps",6],["james","home",7],
["mary","home",8],["mary","about",9], and ["mary","career",10].` Pattern includes: ("home",
"about", "career") has score 2 (joe and mary). // The result should be this. ("home", "cart",
"maps") has score 1 (james). ("home", "cart", "home") has score 1 (james). ("home", "maps",
"home") has score 1 (james). ("cart", "maps", "home") has score 1 (james). ("home", "home",
"home") has score 0 (no user visited home 3 times). Output: ["home", "about", "career"]
Response 1 – 4,4,4,4,1,1
Response 2 – 3,4,3,3,1,1
44. I have a timeseriesdataframe and want to drop the last period of data for all items, how do I do
this?
Response 1 – 5,4,5,5,1,1
Response 2 – 2,5,4,2,1,1
45. Implement the following search function in Javascript: Given an array of strings products and a
string searchWord, after each character of the search word is typed, at most three product names
having a common prefix with the typed search word. If there are more than three products with a
common prefix, return the three lexicographically smallest ones. Provide a list of lists containing
the suggested products after each character of the search word is typed. For example: Input:
products = ["mobile","mouse","moneypot","monitor","mousepad"], searchWord = "mouse"
Output: [["mobile","moneypot","monitor"],["mobile","moneypot","monitor"],
["mouse","mousepad"],["mouse ","mousepad"],["mouse","mousepad"]] Explanation: products
sorted lexicographically = ["mobile","moneypot","monitor","mouse","mousepad"]. After typing m
and mo all products match and we show user ["mobile","moneypot","monitor"]. After typing mou,
mous and mouse the system suggests ["mouse","mousepad"].
Response 1 – 2,4,3,4,1,1
Response 2 –4,4,5,5,1,1
46. In JavaScript, how can I make an array of 1000 items, with 999 items of the same value(0), 1 item
of a special value(1000). How to implement such an array so it is efficient in terms of storage cost?
we need to maintain the same interface as native JavaScript array.
Response 1 – 3,4,2,3,1,1
Response 2 –4,4,5,4,1,1
47. Given a positive integer, millis, write an asynchronous function that sleeps for millis milliseconds.
It can resolve any value. Explain the concept of asynchronous operations. For example:
Response 1 – 445511
Response 2 –455211
48. come up with code that has 50 boxes and each box leads to a different random website
response 1 – 3344,11
Response 2 –4444,11
49. Given a list of emails, write some code that creates a tuple of the username and domain
before.com or anything similar in fPython. The explanation was highly praised because it
thoroughly investigated regular expressions in email parsing, highlighting variety and complexity,
which is crucial to understanding the code's usefulness and limitations. It didn't properly
acknowledge regex's efficiency issues for simple string operations, which somewhat lowers the
ranking.
Response 1 – 4444,11
Response 2 –4434,11
50. . Given a list of emails, write some code that creates a tuple of the username and domain
before.com or anything similar in Python. The explanation was highly praised because it
thoroughly investigated regular expressions in email parsing, highlighting variety and complexity,
which is crucial to understanding the code's usefulness and limitations. It didn't properly
acknowledge regex's efficiency issues for simple string operations, which somewhat lowers the
ranking. .
Response 1 – 4444,11
Response 2 –4434,11
51. Write a function that takes an unordered vector of integers and its dimension as input, and
constructs another vector by removing duplicate values efficiently. The function should return the
dimension of the new vector (The requested function should not exceed 10 lines).
Response 1 -3,4,5,4,1,1
Response 2 - 3,4,5,4,1,1
52. Write a JavaScript script for drawing a pair of responsive eyes on the given canvas, enabling the
eyes to track the mouse/cursor movements.\nhtml\n\n<canvas id="canvas" width="300"
height="150"></canvas>\n
Response 1 – 245511
Response 2 – 545511
53. write a c code to write number of digits in an integer without using a function
Response 1 – 2,4,1,1,1,
Response 2 –4,4,5,5,1,1
54. Given a positive integer N, find all the prime numbers up to N in Python.
Response 1 – 5,5,5,5,1,1
Response 2 – 3,4,2,5,1,1
55. .Try to optimize the following code: function sumOfSquares(arr) { let sum = 0; for (let i = 0; i <
arr.length; i++) { if (arr[i] % 2 === 0) { sum += Math.pow(arr[i], 2); } } return sum; }
Response 1 555511
Response 2 555511
56. .Implement a type of List whose Iterator ignores its null elements. Use the following interface:
public interface IgnoreNullList extends List { public Iterator ignoreNullsIterator(); } Choose the
response which you think is better After you complete the individual ratings of the responses,
make to adjust your response if it is misaligned with the individual ratings.
Response 1 3,4,5,3,1,1
Response 2 5,5,5,5,1,1
57. What is the syntax for using the replace() method in JavaScript to replace '/ ' to '$$' ?
Response 1- 452411
Response 2- 555511
58. Define a C++ class called Car with private attributes for the make, model, and year. Implement
public member functions for setting these attributes and displaying the details. Write a program
that creates an instance of the class, sets its details, and displays them.
Response 1- 4,4,4,5,1,1
Response 2- 3,3,2,4,1,1
59. Implement a type of List whose Iterator ignores its null elements. Use the following interface:
public interface IgnoreNullList extends List { public Iterator ignoreNullsIterator(); }
Response1-443311
Response 2-344411
60. .Let's say a div in HTML has the format of: first name: input, last name: input, message: textbox
button When the button is clicked, another div appears such that the values inputted above are
shown. first name: value entered by user last name: value entered by user message: text written
by user Write some code to accomplish this
Response 1;552411
Response 2;555511
61. Response eyes
335511
555511
62. Import numpy as np
555511
353311
63. Detect a button when pressed 3 times . A function in javascript that is able to detect when a
button
313311
555511
64. Write a generator to yield the Fibonacci number in python
555111
355511
65. Try to optimize the following code
555511
442211
66. Create a bash script
323411
555511
67. How can I filter a list of coordinators using python list
555511
245211
68. Indering an element from a volatile struct dosnt work in c++
252211
454511
69. Write a function in python that prints a natrix in spiral
555511
552211
70. A program in java that concatenates a given string
324411
555511
71. Given an opposite integer n
555511
333111
72. Try to optimize the following code
555511
442211
73. Implement in python: I have a restaurant that needs a system to assign a bill and table number to
a group of persons that are dining. I need you to provide a code that is easy to use to add menu
items to the bill and separate bills if persons prefer to split. Then calculate gst=12.5% and print the
entire bill plus table number, totals and the server that waited the table.
332211
444411
74. Create a python function that takes an image and has options for image augmentation such as flip
horizontal, flip vertical and rotations. Cut the image to 255x255 pixels before doing augments.
444411
343311
75. Write crud operations in node js (post,delete,put,get)
444411
333211
76. Person A sends a request to node js that takes 10 seconds, a Person B sends a request that takes 2
seconds immediately after person A. How will node js handle it, given that node js is single
threaded.
555511
131111
77. Function to modify a matrix such that if a value in matrix cell matrix[i][j] is 1 then all the cells in its
ith row and jth column will become 1. C language

444411
232211
78. Create a class named StudentDetails which has a method named getMarks to collect the
particulars of student marks in 5 subjects in an array. Create another class named StudentAverage
which computes the average marks using the computeAverage method. This class also has a
method named computeGPA which will compute the GPA of the student based on the marks
secured. Assume that all the 5 courses are 3 credit courses. If student mark is >=95, give a score of
10. If the mark is >=90 and < 95, give 9. If the mark is >=80 and < 90, give 8. If the mark is >=70 and
< 80 give 7. If the mark is >=60 and < 70 give 6. If the mark is >=50 and < 60 give 5. Else give the
score as 0. Write a program to compute the student average mark and GPA and print the same.
in java
444411
333311

79. I want my screen on my browser using HTML and


333311
322211

80. Python code that uses pandas


454511
343411
81. generate a code in c. I want this code to implement eudidean algorithm
555511
333311
82. finding gcd
555511
535511
83. Generate a program in java that uses flux to filter
555511
343211
84. Given a list integers, the program should return the sum of (1,2,3,4,5)
554511
554511
85. Import java awt image buttered image, import java 10 file
232311
444411
86. Can you explain to me what this code snippet’s function is? Def fun (g)
333311
444411
87. Create a python script that takes a list of numerical grodes which might be numbers or strings of
numbers.
333311
445511
88. What is the output in python? Explain

251311

355511

89. Temperature data and calculate mean and still dev


333311

555511

90. Write a python that say Hello word then create a random string
555511

345411

91. Create a program to read an array A with


555511
335511
92. Given an array representing the weights of bananas of
343311
555511
93. Please provide a simple React app with creating a user
555511
443311
94. Can you show me how to do an animation
555511
342211
95. import tkinter as tk import random choices = {
444411
332211
96. Write a Python program that takes a string
97. How can I generate hashed passwords in javascript using SHA256?
Resp 1 2212
Resp 2 4554
98. Write a Python script where you need to extract all the
99. Write a Python script that implements a simple parallel
100. Can I have a brief rundown of the python y finance library
555511
355301
101. Write a JavaScript script for drawing a pair of responsive
344511
445511
102. Write a program in javascript that uses divide and conquer

342211
555511

103. can you give me a program written in java with


342311
444411
104. Give me a code in python that reads an image and
342411
445411
105. Why don’t I need a try and catch

435511

234211

106. Can you have me understand the hashing method


242311
555511
107. Indexing an element from a volution
252211
454511
108. Write a program in Java to compute the sum of 2 numbers
555511
552511
109. Sudoku
555511
323211
110. How to improve a Erectum in math
352211
444411
111. . Refactor this C code snippet
555511
254211
112. Create a code in Javascript that reads data
555511
453211
113. . If the message doesn’t contain
251311
355511
114. . Write a programme in java expected to compute
555511
552511
115. write a python script where you needed
222311
555511
116. Given an array representing the weights of bananas of each owner,
best resp: 2
Resp 1: 232355
~Resp 2: 444455
117. #include <stdio.h>
#include <stdlib.h>

int compare(const void *a, const void b) {


return ((int *)a - *(int *)b);
}

long long maxProduct(int arr[], int n) {


// Sort the array
qsort(arr, n, sizeof(int), compare);
best resp: 2

resp 1: 232355

resp 2: 555555

118. Create a code in C that reads a text file with temperature data and calculates the mean and std
dev. Then it normalizes the data and prints it out.
best resp: 2
resp 1: 3335 55
resp 2: 5555 55
119. import tkinter as tk
import random

choices = {
"rock": "circle",
"paper": "square",
"scissors": "triangle"
}

best resp: 1
resp 1: 4444 55
resp 2: 3322 55
120. Import java uti scanner..1
Rsp 1...5555
Rsp 2...4422
121. Write a c program to identify if the given line is a comment or not....1
Rsp 1 ..5544
Rsp ..2312
122. Write a java programme that includes 2 classes..1
Resp 1 5445
Resp 2 3421
123. What is the time Complexity of this code...2
Rsp 1..2424
Rsp 2...4444
124. create a unit converter code in c for the units of measure: length, mass, temperature with unit
conversions from imperial to metric
5555
3333
125. Correct this code...
222111
555511
126. can you show me how to do animation
5555 11
443311
127. Write a python script that says " hello world " - 2
Rsp1 : 355511
Rsp 2: 333311
128. Create a aprograme to read an array A with mxm-1
Rsp1:5555
Rsp2:3355
129. create a unit converter code in c for the units of measure: length, mass, temperature with unit
conversions from imperial to metric

2 4 5 511

2 3 2 411

130. Import java uti scanner..1

Rsp 1...5555

Rsp 2...4422

131. 2024Write a c program to identify if the given line is a comment or not....1

Rsp 1 ..5544

Rsp ..2312

132. Create a Main menu in Java using a gridbaglayout... 2

Import java.awt

Resp 1 - 2323

Resp 2 - 4444

133. ] Given an array representing the weights 2..


3533
5555
134. I would like an input field to be marked as in-valid (red) when the form... 2

Resp 1- 443311
Resp 2- 444411

135. Create a code in C that reads text file with temperature data

3335

5555

136. Function to modify a matrix such as if cell - 1

4444

2212

137. Create a python program that is a typing speed test simulator

3344

4445

138. I am building a web

333411

444411

139. Can you show me how to do an animation using java 100 small - 1
444411
222211
140. Function to modify a matrix such as if cell - 1
444411
221211
141. Create a python function that takes an image and has options for image - 1
4444
3333
142. I would like an input field to be marked as -2
3323
4444
143. Create a python program that is a typing speed test simulator
3344
4445
144. Write a python script that says " hello world " - 2
Rsp1 : 3555
Rsp 2: 3333
145. Create a aprograme to read an array A with mxm-1
Rsp1:5555
Rsp2:3355
146. Guys let's get serious target 150 answers today. My implementation of this code to get the
largest 3 number product in an array is wrong
3553
5555
147. Create a python script that reads 3 CSV files and creates .. 1
Resp 1: 5555
Resp 2: 3523
148. Can you show me how to do an animation using java 100 small - 1
4444
2222
149. Function to modify a matrix such as if cell - 1
4444
2212
150. Create a python function that takes an image and has options for image - 1
4444
3333
151. I would like an input field to be marked as -2
3323
4444
152. Create a python program that is a typing speed test simulator
3344
4445
153. create a unit converter code in c for the units of measure: length, mass, temperature with unit
conversions from imperial to metric
5555
3333
154. Create a Main menu in Java using a gridbaglayout... 2

Import java.awt
Resp 1 - 2323
Resp 2 – 4444
155. can you show me how to do animation
5555

4433

156. I would like an input field to be marked as in-valid (red) when the form... 2

Resp 1- 4433
Resp 2- 4444
157. Write a Python program that takes a string as input and checks whether it is a palindrome or
not. A palindrome is a word, phrase, number, or other sequence of characters that reads the same
forward and backward. Your code must pass the below given testcases:

Input:
input_str = "A man, a plan, a canal, Panama!"
Expected Output:
The string is a palindrome
Input:
input_str = "madam"
Expected Output
The string is a palindrome
Input:
input str = "level"
Expected Output:
The string is a palindrome
Input:
input_str = "Strings"
Expected Output:
The string is not a palindrome
Note:
Remove any comments before submitting the code
Response 1 is better
554511
323311
158. import java.util.Scanner;

public class CheckNumberarray {

Response 1 is better
555511
342311
159. Write crud operation 1...
5555,
3533
160. Here is a samle data from my text file.
id,material,name,location.city,location.city_id,location.country,location.country
id,location.latitude,location.longitude
62,composite,Chicago Spire,Chicago,1539,US,163,41.889888763428,-87.614860534668-2
Response 1- 3323
response 2-5555

You might also like