>
Exams
>
Computer Science
>
Character String
>
which method is used to write multiple strings of
Question:
Which method is used to write multiple strings of a file ?
CUET (UG) - 2023
CUET (UG)
Updated On:
Sep 23, 2024
write()
writelines()
writeline()
writes()
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
The correct option is (B) :writelines().
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Character String
The postfix for a string is ABC + − D*, the actual string will be :
CUET (UG) - 2023
Programming and Data Structure
Character String
View Solution
Which of the following string does not belong to the set of strings represented by regular expression (a+b)* (ab+bba)
CUET (PG) - 2023
Programming and Data Structure
Character String
View Solution
View All
Questions Asked in CUET exam
Choose the correctly punctuated sentence:
CUET (UG) - 2025
Punctuation
View Solution
If in a certain code, ‘FISH’ is written as ‘GJTI’, how will ‘BIRD’ be written using a different logic?
CUET (UG) - 2025
Coding Decoding
View Solution
A girl walks 2 km East, turns left and walks 5 km, then turns left again and walks 2 km. How far is she from the starting point?
CUET (UG) - 2025
Direction sense
View Solution
Rearrange the following parts into a meaningful sentence:
P: before making any major decisions
Q: is wise
R: to consider all possible outcomes
S: and seek advice if necessary
CUET (UG) - 2025
Sentence Arrangement
View Solution
Choose the correct indirect speech:
He said, "I will go to the market tomorrow."
CUET (UG) - 2025
Direct And Indirect Speech
View Solution
View More Questions