【单选题】【消耗次数:1】
当前目录是/usr/meng,其下属文件prog/file.c的绝对路径名是()。
/usr/meng/file.c
/usr/file.c
/prog/file.c
/usr/meng/prog/file.c
参考答案:
复制
纠错
相关题目
【单选题】 当前目录是/usr/meng,其下属文件prog/file.c的绝对路径名是( )。
①  /usr/meng/file.c
②  /usr/file.c
③  /prog/file.c
④  /usr/meng/prog/file.c
【单选题】 在UNIX操作系统中,当用户执行如下命令(linkoldnamenewname):link/usr/include/myfile.c/usr/wanguser/yourfile.c则文件名“/usr/wanguse/yourfile.c"存放在:()
①  user目录文件中
②  include目录文件中
③  wanguser目录文件中
④  yourfile.c的文件内容中
【单选题】 下面的程序段创建了BufferedReader类的对象in,以便读取本机c盘my文件夹下的文件1.txt。File构造函数中正确的路径和文件名的表示是( )。 File f = new File(填代码处); file =new FileReader(f); in=new BufferedReader(file);
①  ./1.txt
②  ../my/1.txt
③  c:\\my\\1.txt
④  c:\ my\1.txt
【单选题】 将程序prog.c编译后运行:prog–nlahelloworld则*(*(argv+2))是()
①  p
② 
③  -h
④  w
【单选题】 要从文件file.dat中读出第10个字节到变量c中,下列哪个方法适合? ( )
①  FileInputStream in=new FileInputStream(file.dat); in.skip(9); int c=in.read();
②  FileInputStream in=new FileInputStream(file.dat); in.skip(10); int c=in.read();
③  FileInputStream in=new FileInputStream(file.dat); int c=in.read();
④  RandomAccessFile in=new RandomAccessFile(file.dat); in.skip(9); int c=in.readByte();
【判断题】 在C语言中,_file是一个合法的标识符。
①  正确
②  错误
【单选题】 在Word中,打开文档File1,编辑修改后另存文件名为File2,则()
①  在文档File1被文档File2覆盖,盘上没有File1文件
②  修改后的文档同时保存到File1和File中
③  文档File1未被修改,修改后的文档保存到文档File2,当前文档为File2
④  文档File1未被修改,修改后的文档保存到文档File2,当前文档为File1
【单选题】 在Word中,先打开了File1.doc文档,又打开了File2.doc文档,则()
①  File2.doc文档窗口遮挡File1.doc文档窗口
②  File1.doc文档窗口被最小化
③  File1.doc文档窗口遮挡File2.doc文档窗口
④  两个窗口并列显示
【判断题】 下图纯度为灰调。<img src="https://file.icve.com.cn/file_doc_public/892/561/DF38C7FF52BB28ECA71B0C830A2CE042.jpg" title="IMG_0956.JPG" alt="IMG_0956.JPG"/>
①  正确
②  错误
【单选题】 下图安全标志代表什么含义?<img src="https://file.icve.com.cn/file_doc_public/11/65/02D10682AA2C2321AA5D3A85E8C80465.jpg" title="图片5.jpg" alt="图片5.jpg"/>
①  禁止靠近
②  禁止入内
③  禁止攀登
④  禁止跳下
随机题目
【单选题】 Raw material is ____ we are badly in need of.
①  what
②  whether
③  that
④  how
【单选题】 If you don’t go, ____ I.
①  nor shall
②  so don’t
③  neither do
④  so do
【单选题】 4. This kind of plant ____ a lot of water at all times.
①  assumes
②  limits
③  produces
④  requires
【单选题】 14. It is ____ pity that you cannot come to the wedding.
①  such a
②  so
③  such as
④  many a
【单选题】 The man was informed ____ the arrival of the new products. ?
①  to ?
②  on ?
③  of ?
④  with?
【单选题】 4. David watched her car until it ____ from view.
①  remained
②  delayed
③  grew
④  disappeared
【单选题】 “Where do you live?” I live ____ 550 Dalian Road.”
①  on
②  at
③  to
④  for
【单选题】 You’re ____ your time trying to persuade him. He’ll never join us. ?
①  spending ?
②  wasting ?
③  losing ?
④  missing?
【单选题】 The boy lost his ____when he stepped on the icy road.
①  way
②  weight
③  balance
④  direction
【单选题】 Never in my life ____ or seen such a thing.
①  I have heard of
②  I had heard of
③  have I heard of
④  did I hear of