Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Write a program to accept a filename from the user and display all the lines from the file which contain python comment character ‘#’.
Home
Education
Write a program to accept a filename from the...
asked
Dec 21, 2021
in
Education
by
JackTerrance
Write a program to accept a filename from the user and display all the lines from the file which contain python comment character ‘#’. Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 21, 2021
by
JackTerrance
Best answer
Answer: idk Explanation:
Related questions
0
votes
Q: Write a program to accept string from user and search a given character from string without using find() function
Write a program to accept string from user and search a given character from string without using find() function Select the correct answer from above options...
asked
Nov 30, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program to accept a word and display the new word after removing all the repeated alphabet
write a program to accept a word and display the new word after removing all the repeated alphabet Select the correct answer from above options...
asked
Dec 25, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program in java to accept a number and display the new number after removing all the zeros
write a program in java to accept a number and display the new number after removing all the zeros Select the correct answer from above options...
asked
Dec 10, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write an algorithm to accept radius of a circle from user, and display area of the circle using the formula:
Write an algorithm to accept radius of a circle from user, and display area of the circle using the formula: area ... x radius x radius Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a Java program to accept a full name and display the initials along with the surname.
write a Java program to accept a full name and display the initials along with the surname. URGENT! give the full program please Select the correct answer from above options...
asked
Dec 31, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a JAVA program to find the area and perimeter of a square and rectangle. Store side in s , length as ‘ln’ and breadth as ‘b’. display the results in separate lines. DO NOT USE ANY INPUT METHOD
Write a JAVA program to find the area and perimeter of a square and rectangle. Store side in s , length as ... USE ANY INPUT METHOD Select the correct answer from above options...
asked
Dec 22, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a JAVA program to find the area and perimeter of a square and rectangle. Store side in s , length as ‘ln’ and breadth as ‘b’. display the results in separate lines.
Write a JAVA program to find the area and perimeter of a square and rectangle. Store side in s , length ... results in separate lines. Select the correct answer from above options...
asked
Dec 21, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program which sends the name of a text file from the client to server and display the message on the client machine whether file present or not.
Write a program which sends the name of a text file from the client to server and display the message on the ... file present or not. Select the correct answer from above options...
asked
Dec 1, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: 1. Write a function in python to read the content from atext file “poem.txt” line by line and display the same on
1. Write a function in python to read the content from a text file “poem.txt” line by line and display the same on screen Select the correct answer from above options...
asked
Dec 1, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: the angles of a square are in ratio 4:4:4:4 . write a program to find and display all of its angels
the angles of a square are in ratio 4:4:4:4 . write a program to find and display all of its angels Select the correct answer from above options...
asked
Dec 25, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program to read an integer and find its reverse. note: if user enter 1234 then the output should be 4321 in Python
write a program to read an integer and find its reverse. note: if user enter 1234 then the output should be 4321 in Python Select the correct answer from above options...
asked
Dec 2, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a python program to print first n(entered by user) even natural numbers.
Write a python program to print first n(entered by user) even natural numbers. Select the correct answer from above options...
asked
Dec 25, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program in python to find the greatest of three no. given by user
write a program in python to find the greatest of three no. given by user Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: . Accept 8 digit number. Separate 8 digits into 4 parts. Display appropriate message in case ofnumber with less digits. Two digits starting from left in one variable.For example : Input: 31245690, a=31, b=24,c=56,d=90. Print which number is largest. Divide
. Accept 8 digit number. Separate 8 digits into 4 parts. Display appropriate message in case of number with less ... again as abcd Select the correct answer from above options...
asked
Nov 26, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: to write a program to accept marks of three subjects and find the total mark and average marks in 3 subject
to write a program to accept marks of three subjects and find the total mark and average marks in 3 subject Select the correct answer from above options...
asked
Dec 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...