31. Which method is used to check if a file is hidden in Ruby? A. File.is_hidden?("filename") B. File.invisible?("filename") C. File.secret?("filename") D. File.hidden?("filename") Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
32. What does the ctime method return in Ruby file I/O? A. The last status change time of the file B. The creation time of the file C. The last modified time of the file D. The last accessed time of the file Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
33. Which method is used to retrieve file attributes in Ruby? A. File.get_stats("filename") B. File.get_attributes("filename") C. File.attributes("filename") D. File.stat("filename") Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board